aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_meta_tail.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/filer_meta_tail.go')
-rw-r--r--weed/command/filer_meta_tail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_meta_tail.go b/weed/command/filer_meta_tail.go
index 1158ef1e0..51c4e7128 100644
--- a/weed/command/filer_meta_tail.go
+++ b/weed/command/filer_meta_tail.go
@@ -74,7 +74,7 @@ func runFilerMetaTail(cmd *Command, args []string) bool {
}
shouldPrint := func(resp *filer_pb.SubscribeMetadataResponse) bool {
- if resp.EventNotification.OldEntry == nil && resp.EventNotification.NewEntry == nil {
+ if filer_pb.IsEmpty(resp) {
return false
}
if filterFunc == nil {