Browse Source

fix Tagging add xmlns

pull/2390/head
Konstantin Lebedev 3 years ago
parent
commit
235329a92a
  1. 2
      weed/s3api/tags.go

2
weed/s3api/tags.go

@ -28,7 +28,7 @@ func (t *Tagging) ToTags() map[string]string {
}
func FromTags(tags map[string]string) (t *Tagging) {
t = &Tagging{}
t = &Tagging{Xmlns: "http://s3.amazonaws.com/doc/2006-03-01/"}
for k, v := range tags {
t.TagSet.Tag = append(t.TagSet.Tag, Tag{
Key: k,

Loading…
Cancel
Save