mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 05:54:24 +02:00
fix tag prefix.
This commit is contained in:
1 parent
8766ca1b95
commit
72f6b77dea
1 file changed
+1
-1
@@ -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++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user