Browse Source

fix error message

related to https://github.com/chrislusf/seaweedfs/issues/2012
pull/2030/head
Chris Lu 4 years ago
parent
commit
ae74d8f02a
  1. 2
      weed/storage/store_ec.go

2
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

Loading…
Cancel
Save