From 28d1b348564b7aa0e61c894136c6b882367966e5 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 24 Jan 2020 22:13:06 -0800 Subject: [PATCH] logging --- weed/filer2/filer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/filer2/filer.go b/weed/filer2/filer.go index f7d782d62..ce6bb8133 100644 --- a/weed/filer2/filer.go +++ b/weed/filer2/filer.go @@ -175,12 +175,12 @@ func (f *Filer) CreateEntry(ctx context.Context, entry *Entry, o_excl bool) erro } } - glog.V(4).Infof("CreateEntry %s: created", entry.FullPath) - f.NotifyUpdateEvent(oldEntry, entry, true) f.deleteChunksIfNotNew(oldEntry, entry) + glog.V(4).Infof("CreateEntry %s: created", entry.FullPath) + return nil }