Skip to content

Commit

Permalink
Style change
Browse files Browse the repository at this point in the history
  • Loading branch information
mweagle committed Mar 10, 2018
1 parent 59bfc79 commit d5ef69e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions template.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,5 @@ func (r *Resource) UnmarshalJSON(buf []byte) error {
if err != nil {
return err
}
if err := json.Unmarshal(propertiesBuf, r.Properties); err != nil {
return err
}
return nil
return json.Unmarshal(propertiesBuf, r.Properties)
}

0 comments on commit d5ef69e

Please sign in to comment.