aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/replicator.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/replication/replicator.go')
-rw-r--r--weed/replication/replicator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/replication/replicator.go b/weed/replication/replicator.go
index 57aa63e5f..654725725 100644
--- a/weed/replication/replicator.go
+++ b/weed/replication/replicator.go
@@ -84,7 +84,7 @@ func (r *Replicator) Replicate(ctx context.Context, key string, message *filer_p
err = r.sink.DeleteEntry(key, message.OldEntry.IsDirectory, false, message.Signatures)
if err != nil {
- return fmt.Errorf("delete old entry %v: %v", key, err)
+ return fmt.Errorf("delete old entry %v: %w", key, err)
}
glog.V(4).Infof("creating missing %v", key)