aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-21 16:09:23 -0700
committerchrislu <chris.lu@gmail.com>2022-08-21 16:09:23 -0700
commit27621541302390d240b4d2ae60e92574abb696a5 (patch)
treee126bf401c53e43b1cb82ad025fc1b86c052e175
parentfb5808e0c39d00c32a896b44614a232566a014a7 (diff)
downloadseaweedfs-27621541302390d240b4d2ae60e92574abb696a5.tar.xz
seaweedfs-27621541302390d240b4d2ae60e92574abb696a5.zip
fix compilation
-rw-r--r--weed/server/volume_grpc_erasure_coding.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/volume_grpc_erasure_coding.go b/weed/server/volume_grpc_erasure_coding.go
index 1a0668321..e33f2e57c 100644
--- a/weed/server/volume_grpc_erasure_coding.go
+++ b/weed/server/volume_grpc_erasure_coding.go
@@ -90,7 +90,7 @@ func (vs *VolumeServer) VolumeEcShardsRebuild(ctx context.Context, req *volume_s
var rebuiltShardIds []uint32
for _, location := range vs.store.Locations {
- _, _, existingShardCount, err := checkEcVolumeStatus(bName, location)
+ _, _, existingShardCount, err := checkEcVolumeStatus(baseFileName, location)
if err != nil {
return nil, err
}