save s3 metadata to filer.

This commit is contained in:
ruitao.liu
2020-10-28 18:16:05 +08:00
parent 53c3aad875
commit 2dcc178d0a
2 changed files with 36 additions and 1 deletions

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, "x-amz-tagging-") {
if strings.HasPrefix(k, "X-Amz-Tagging-") {
tagCount++
}
}