aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-04-21 01:40:16 -0700
committerChris Lu <chris.lu@gmail.com>2021-04-21 01:40:16 -0700
commitae74d8f02a1eefad220bb9649db5b2c5ed032d3b (patch)
tree216628a4f02921ba95e5bc2e9663da74d7799f08
parentbcd400995aacca41a704248af7196586449a365d (diff)
downloadseaweedfs-ae74d8f02a1eefad220bb9649db5b2c5ed032d3b.tar.xz
seaweedfs-ae74d8f02a1eefad220bb9649db5b2c5ed032d3b.zip
fix error message
related to https://github.com/chrislusf/seaweedfs/issues/2012
-rw-r--r--weed/storage/store_ec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.go
index a9b6a8ff3..f4587ba01 100644
--- a/weed/storage/store_ec.go
+++ b/weed/storage/store_ec.go
@@ -303,7 +303,7 @@ func (s *Store) doReadRemoteEcShardInterval(sourceDataNode string, needleId type
break
}
if receiveErr != nil {
- return fmt.Errorf("receiving ec shard %d.%d from %s: %v", vid, shardId, sourceDataNode, err)
+ return fmt.Errorf("receiving ec shard %d.%d from %s: %v", vid, shardId, sourceDataNode, receiveErr)
}
if resp.IsDeleted {
is_deleted = true