This commit is contained in:
Jan Eitzinger 2022-09-13 15:40:32 +02:00
parent cab017ea63
commit 8845bba90d

View File

@ -41,7 +41,7 @@ func Validate(k Kind, r io.Reader) (err error) {
var v interface{} var v interface{}
if err := json.NewDecoder(r).Decode(&v); err != nil { 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 return err
} }