From c384f43c65104e23161b98f874d54d164cd2813e Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 20 Nov 2025 19:42:10 -0800 Subject: [PATCH] Update weed/wdclient/masterclient.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- weed/wdclient/masterclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.go index 0ed276172..89218a8c7 100644 --- a/weed/wdclient/masterclient.go +++ b/weed/wdclient/masterclient.go @@ -38,7 +38,7 @@ func (p *masterVolumeProvider) LookupVolumeIds(ctx context.Context, volumeIds [] timeoutCtx, cancel := context.WithTimeout(ctx, p.masterClient.grpcTimeout) defer cancel() - err := pb.WithMasterClient(false, p.masterClient.GetMaster(timeoutCtx), p.masterClient.grpcDialOption, false, func(client master_pb.SeaweedClient) error { + err := pb.WithMasterClient(false, p.masterClient.GetMaster(ctx), p.masterClient.grpcDialOption, false, func(client master_pb.SeaweedClient) error { resp, err := client.LookupVolume(timeoutCtx, &master_pb.LookupVolumeRequest{ VolumeOrFileIds: volumeIds, })