Skip to content

Commit

Permalink
fix(resource.template): remove print to standard output when JSON unm…
Browse files Browse the repository at this point in the history
…arshal in a resource fails
  • Loading branch information
VeraBE authored and rubenfonseca committed Aug 15, 2022
1 parent 7b4b92c commit d64f719
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generate/templates/resource.template
Expand Up @@ -107,7 +107,6 @@ func (r *{{.StructName}}) UnmarshalJSON(b []byte) error {
dec.DisallowUnknownFields() // Force error if unknown field is found

if err := dec.Decode(&res); err != nil {
fmt.Printf("ERROR: %s\n", err)
return err
}

Expand Down

0 comments on commit d64f719

Please sign in to comment.