Skip to content

Commit

Permalink
revert changing converter.go
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed Jul 14, 2023
1 parent 2d20916 commit b74f219
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions redfish/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ var typeToConverters = map[string]converter{
}

func numberConverter(data interface{}) (float64, error) {
if data == nil {
return -1, nil
}
value, ok := data.(float64)
if !ok {
return 0, errors.New("value was not float64")
Expand Down

0 comments on commit b74f219

Please sign in to comment.