aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2021-10-20 19:40:22 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2021-10-20 19:40:22 +0500
commit235329a92a535650bc7f0556510ad6014eb15a70 (patch)
treeaf291d9afde8e3be8ba9061e14edad75a34d0c6b
parentdc7e525cb983853c81a7e6f8f0e25e3f031a2b02 (diff)
downloadseaweedfs-235329a92a535650bc7f0556510ad6014eb15a70.tar.xz
seaweedfs-235329a92a535650bc7f0556510ad6014eb15a70.zip
fix Tagging add xmlns
-rw-r--r--weed/s3api/tags.go2
1 files changed, 1 insertions, 1 deletions
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,