diff --git a/metadata/metadata.go b/metadata/metadata.go index 42db934a9..a9eaa8a38 100644 --- a/metadata/metadata.go +++ b/metadata/metadata.go @@ -16,13 +16,7 @@ func New(mds ...map[string]string) Metadata { md := Metadata{} for _, m := range mds { for k, v := range m { - if k == "" { - continue - } - key := strings.ToLower(k) - if v != "" { - md[key] = v - } + md.Set(k, v) } } return md