aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fsck.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-10-17 22:11:50 -0700
committerGitHub <noreply@github.com>2025-10-17 22:11:50 -0700
commit97f30287821e1c49b816f2e4c05be46728b06a0b (patch)
tree1169d6e45c06698fc4081b8cfc27f2d4d2e98684 /weed/shell/command_volume_fsck.go
parent8d63a9cf5f011baa4b86372b4f28b7179b9dc9cb (diff)
downloadseaweedfs-97f30287821e1c49b816f2e4c05be46728b06a0b.tar.xz
seaweedfs-97f30287821e1c49b816f2e4c05be46728b06a0b.zip
Clean up logs and deprecated functions (#7339)
* less logs * fix deprecated grpc.Dial
Diffstat (limited to 'weed/shell/command_volume_fsck.go')
-rw-r--r--weed/shell/command_volume_fsck.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go
index e8140d3aa..2ee4309e4 100644
--- a/weed/shell/command_volume_fsck.go
+++ b/weed/shell/command_volume_fsck.go
@@ -152,8 +152,7 @@ func (c *commandVolumeFsck) Do(args []string, commandEnv *CommandEnv, writer io.
collectModifyFromAtNs = time.Now().Add(-*modifyTimeAgo).UnixNano()
}
// collect each volume file ids
- eg, gCtx := errgroup.WithContext(context.Background())
- _ = gCtx
+ eg, _ := errgroup.WithContext(context.Background())
for _dataNodeId, _volumeIdToVInfo := range dataNodeVolumeIdToVInfo {
dataNodeId, volumeIdToVInfo := _dataNodeId, _volumeIdToVInfo
eg.Go(func() error {