Skip to content

Commit c15ec89

Browse files
authored
Merge pull request #1561 from k8s-infra-cherrypick-robot/cherry-pick-1550-to-release-1.24
[release-1.24] fix: volume cloning sas token logged
2 parents 910c7c3 + 2c3d4fa commit c15ec89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/blob/controllerserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ func (d *Driver) copyBlobContainer(ctx context.Context, req *csi.CreateVolumeReq
794794
}
795795
timeoutFunc := func() error {
796796
_, percent, _ := d.azcopy.GetAzcopyJob(dstContainerName, authAzcopyEnv)
797-
return fmt.Errorf("timeout waiting for copy blob container %s to %s complete, current copy percent: %s%%", srcPath, dstContainerName, percent)
797+
return fmt.Errorf("timeout waiting for copy blob container %s to %s complete, current copy percent: %s%%", srcContainerName, dstContainerName, percent)
798798
}
799799
copyErr := util.WaitUntilTimeout(time.Duration(d.waitForAzCopyTimeoutMinutes)*time.Minute, execFunc, timeoutFunc)
800800
if copyErr != nil {

0 commit comments

Comments
 (0)