Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix Tagging add xmlns

Konstantin Lebedev235329a92a53
diff --git a/weed/s3api/tags.go b/weed/s3api/tags.go
index 9c1e911793..979e5a80cd 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,