Remove unnessary abstraction deepEqual

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
This commit is contained in:
Jessica Frazelle
2014-12-03 17:52:06 -08:00
parent 02a021119f
commit fa753e67ae
3 changed files with 5 additions and 7 deletions
-4
View File
@@ -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 {