mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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
|
return true // true means recursive traversal should continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if fileFilter.matches(entry) {
|
if !fileFilter.matches(entry) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ func (c *commandRemoteUncache) uncacheContentData(commandEnv *CommandEnv, writer
|
||||||
return true // true means recursive traversal should continue
|
return true // true means recursive traversal should continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if fileFilter.matches(entry) {
|
if !fileFilter.matches(entry) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue