mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
Remove unnessary abstraction deepEqual
Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
This commit is contained in:
@@ -114,10 +114,6 @@ func unmarshalJSON(data []byte, result interface{}) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func deepEqual(expected interface{}, result interface{}) bool {
|
||||
return reflect.DeepEqual(result, expected)
|
||||
}
|
||||
|
||||
func convertSliceOfStringsToMap(input []string) map[string]struct{} {
|
||||
output := make(map[string]struct{})
|
||||
for _, v := range input {
|
||||
|
||||
Reference in New Issue
Block a user