delete unused parms for UpdateVolumeSnapshotLocationWithCredentialConfig (#5954)

Signed-off-by: yanggang <gang.yang@daocloud.io>
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
Co-authored-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
This commit is contained in:
杨刚 (成都)
2023-03-15 13:50:54 +08:00
committed by GitHub
parent f527a1fc62
commit 1d8ca4f2ef
4 changed files with 6 additions and 7 deletions

View File

@@ -406,7 +406,7 @@ func (r *backupDeletionReconciler) volumeSnapshottersForVSL(
}
// add credential to config
err := volume.UpdateVolumeSnapshotLocationWithCredentialConfig(vsl, r.credentialStore, r.logger)
err := volume.UpdateVolumeSnapshotLocationWithCredentialConfig(vsl, r.credentialStore)
if err != nil {
return nil, errors.WithStack(err)
}