mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 01:37:57 +08:00
fix tag prefix.
This commit is contained in:
@@ -97,7 +97,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request,
|
|||||||
if r.Method == "GET" {
|
if r.Method == "GET" {
|
||||||
tagCount := 0
|
tagCount := 0
|
||||||
for k, _ := range entry.Extended {
|
for k, _ := range entry.Extended {
|
||||||
if strings.HasPrefix(k, "x-amz-tagging") {
|
if strings.HasPrefix(k, "x-amz-tagging-") {
|
||||||
tagCount++
|
tagCount++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user