rename s3 tag prefix.

This commit is contained in:
ruitao.liu committed 2020-10-27 17:33:24 +08:00
1 parent 19026ae55d
commit 8766ca1b95
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request,
if r.Method == "GET" {
tagCount := 0
for k, _ := range entry.Extended {
if strings.HasPrefix(k, "s3-tag-") {
if strings.HasPrefix(k, "x-amz-tagging") {
tagCount++
}
}