diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-04-21 01:40:16 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-04-21 01:40:16 -0700 |
| commit | ae74d8f02a1eefad220bb9649db5b2c5ed032d3b (patch) | |
| tree | 216628a4f02921ba95e5bc2e9663da74d7799f08 | |
| parent | bcd400995aacca41a704248af7196586449a365d (diff) | |
| download | seaweedfs-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.go | 2 |
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 |
