From 27621541302390d240b4d2ae60e92574abb696a5 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 21 Aug 2022 16:09:23 -0700 Subject: [PATCH] fix compilation --- weed/server/volume_grpc_erasure_coding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }