Skip to content

Commit

Permalink
fixed: codectool duplicate Unmarshal json #850 (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkale committed Nov 7, 2022
1 parent 6681fac commit 5bf9b04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/util/codectool/codectool.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func Unmarshal(data []byte, v interface{}) error {
if err != nil {
return fmt.Errorf("%s: convert yaml to json failed: %v", data, err)
}
json.Unmarshal(data, v)

return json.Unmarshal(data, v)
}
Expand Down

0 comments on commit 5bf9b04

Please sign in to comment.