Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
Remove problematic panic
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Hicks committed Apr 28, 2017
1 parent 5c6e994 commit afde0dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ func findAllPaths(findKey, findValue string, data interface{}) (interface{}, []s
paths = append(paths, fmt.Sprintf("%d", i))
}
}
default:
panic(fmt.Sprintf("don't know how to handle %T", data))
}

if paths != nil {
Expand Down

0 comments on commit afde0dd

Please sign in to comment.