azureblob: fix azure blob uploads with multiple bits of metadata

This commit is contained in:
Nick Craig-Wood 2023-04-28 16:41:18 +01:00
parent 41cf7faea4
commit 70fe2ac852

View File

@ -1582,6 +1582,7 @@ func (o *Object) getMetadata() (metadata map[string]*string) {
}
metadata = make(map[string]*string, len(o.meta))
for k, v := range o.meta {
v := v
metadata[k] = &v
}
return metadata