mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix Tagging add xmlns
This commit is contained in:
parent
dc7e525cb9
commit
235329a92a
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue