diff options
| author | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-10-20 19:40:22 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-10-20 19:40:22 +0500 |
| commit | 235329a92a535650bc7f0556510ad6014eb15a70 (patch) | |
| tree | af291d9afde8e3be8ba9061e14edad75a34d0c6b | |
| parent | dc7e525cb983853c81a7e6f8f0e25e3f031a2b02 (diff) | |
| download | seaweedfs-235329a92a535650bc7f0556510ad6014eb15a70.tar.xz seaweedfs-235329a92a535650bc7f0556510ad6014eb15a70.zip | |
fix Tagging add xmlns
| -rw-r--r-- | weed/s3api/tags.go | 2 |
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, |
