Support multiple values for x-amz-meta header (#6145)

Fixes #5595
This commit is contained in:
Harshavardhana 2018-07-12 09:40:14 -07:00 committed by GitHub
parent 15771ebe8d
commit b11a8eb3f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ func extractMetadataFromMap(ctx context.Context, v map[string][]string, m map[st
}
value, ok := v[key]
if ok {
m[key] = value[0]
m[key] = strings.Join(value, ",")
break
}
}