From 235329a92a535650bc7f0556510ad6014eb15a70 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Wed, 20 Oct 2021 19:40:22 +0500 Subject: [PATCH] fix Tagging add xmlns --- weed/s3api/tags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/s3api/tags.go b/weed/s3api/tags.go index 9c1e91179..979e5a80c 100644 --- a/weed/s3api/tags.go +++ b/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,