mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
Fix bug
This commit is contained in:
parent
cab017ea63
commit
8845bba90d
@ -41,7 +41,7 @@ func Validate(k Kind, r io.Reader) (err error) {
|
||||
|
||||
var v interface{}
|
||||
if err := json.NewDecoder(r).Decode(&v); err != nil {
|
||||
log.Error("schema.Validate() - Failed to decode %v", err)
|
||||
log.Errorf("schema.Validate() - Failed to decode %v", err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user