aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_uncache.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-04 13:58:14 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-04 13:58:14 -0700
commitd983aa4c7dc4a8f6dc7d783d69669b74df41a749 (patch)
treea491a444b70815e1193d884fedbb364b339becf7 /weed/shell/command_remote_uncache.go
parentc5ee03d6afb05bf1335b4d9ab3ea7da1620823f1 (diff)
downloadseaweedfs-d983aa4c7dc4a8f6dc7d783d69669b74df41a749.tar.xz
seaweedfs-d983aa4c7dc4a8f6dc7d783d69669b74df41a749.zip
correct filtering
Diffstat (limited to 'weed/shell/command_remote_uncache.go')
-rw-r--r--weed/shell/command_remote_uncache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_remote_uncache.go b/weed/shell/command_remote_uncache.go
index 2788edbae..77f3a2575 100644
--- a/weed/shell/command_remote_uncache.go
+++ b/weed/shell/command_remote_uncache.go
@@ -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
}