Skip to content

Commit b64ddb0

Browse files
committed
fix volume cloning sas token
1 parent 2dc70fa commit b64ddb0

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)