Fix pointer deference to string in error message

Signed-off-by: Faizan Ahmad <faizan@obmondo.com>
This commit is contained in:
Faizan Ahmad
2022-10-25 07:52:00 +05:30
committed by Faizan Ahmad
parent 5f4336102a
commit 9d01432007
+1 -1
View File
@@ -1000,7 +1000,7 @@ func (c *backupController) deleteVolumeSnapshot(volumeSnapshots []snapshotv1api.
len(*vs.Status.BoundVolumeSnapshotContentName) > 0 {
var found bool
if vsc, found = vscMap[*vs.Status.BoundVolumeSnapshotContentName]; !found {
logger.Errorf("Not find %s from the vscMap", vs.Status.BoundVolumeSnapshotContentName)
logger.Errorf("Not find %s from the vscMap", *vs.Status.BoundVolumeSnapshotContentName)
return
}