Skip to content

Commit b471b1a

Browse files
authored
Merge pull request #1550 from umagnus/fix_clone_sas
fix: volume cloning sas token logged
2 parents 61a224f + b64ddb0 commit b471b1a

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
@@ -799,7 +799,7 @@ func (d *Driver) copyBlobContainer(ctx context.Context, req *csi.CreateVolumeReq
799799
}
800800
timeoutFunc := func() error {
801801
_, percent, _ := d.azcopy.GetAzcopyJob(dstContainerName, authAzcopyEnv)
802-
return fmt.Errorf("timeout waiting for copy blob container %s to %s complete, current copy percent: %s%%", srcPath, dstContainerName, percent)
802+
return fmt.Errorf("timeout waiting for copy blob container %s to %s complete, current copy percent: %s%%", srcContainerName, dstContainerName, percent)
803803
}
804804
copyErr := util.WaitUntilTimeout(time.Duration(d.waitForAzCopyTimeoutMinutes)*time.Minute, execFunc, timeoutFunc)
805805
if copyErr != nil {

0 commit comments

Comments
 (0)