fix Tagging add xmlns

This commit is contained in:
Konstantin Lebedev 2021-10-20 19:40:22 +05:00
parent dc7e525cb9
commit 235329a92a

View file

@ -28,7 +28,7 @@ func (t *Tagging) ToTags() map[string]string {
} }
func FromTags(tags map[string]string) (t *Tagging) { 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 { for k, v := range tags {
t.TagSet.Tag = append(t.TagSet.Tag, Tag{ t.TagSet.Tag = append(t.TagSet.Tag, Tag{
Key: k, Key: k,