mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-19 06:53:32 +08:00
correct filtering
This commit is contained in:
parent
c5ee03d6af
commit
d983aa4c7d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user