diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/util.go | 1 | ||||
-rw-r--r-- | util/util_test.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/util/util.go b/util/util.go index 3d05322efb16..ea9f636ac89a 100644 --- a/util/util.go +++ b/util/util.go @@ -11,7 +11,6 @@ func Merge(in1 *map[string]interface{}, in2 *map[string]interface{}) *map[string return in1 } - new := make(map[string]interface{}) for k, v := range *in1 { new[k] = v diff --git a/util/util_test.go b/util/util_test.go index c0805533576a..a6adcd713f1a 100644 --- a/util/util_test.go +++ b/util/util_test.go @@ -1,8 +1,8 @@ package util import ( - "testing" "reflect" + "testing" ) func TestMergeWithEmptyMap(t *testing.T) { |