mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 21:25:08 +08:00
correct filtering
This commit is contained in:
@@ -130,7 +130,7 @@ func (c *commandRemoteCache) cacheContentData(commandEnv *CommandEnv, writer io.
|
||||
return true // true means recursive traversal should continue
|
||||
}
|
||||
|
||||
if fileFilter.matches(entry) {
|
||||
if !fileFilter.matches(entry) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
@@ -88,7 +88,7 @@ func (c *commandRemoteUncache) uncacheContentData(commandEnv *CommandEnv, writer
|
||||
return true // true means recursive traversal should continue
|
||||
}
|
||||
|
||||
if fileFilter.matches(entry) {
|
||||
if !fileFilter.matches(entry) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user