@@ -554,10 +554,10 @@ func (ctrl *csiSnapshotCommonController) createSnapshotsForGroupSnapshotContent(
554
554
}
555
555
556
556
volumeSnapshotContentName := getSnapshotContentNameForVolumeGroupSnapshotContent (
557
- string (groupSnapshotContent .UID ), volumeHandle )
557
+ string (groupSnapshot .UID ), volumeHandle )
558
558
559
559
volumeSnapshotName := getSnapshotNameForVolumeGroupSnapshotContent (
560
- string (groupSnapshotContent .UID ), volumeHandle )
560
+ string (groupSnapshot .UID ), volumeHandle )
561
561
562
562
volumeSnapshotNamespace := groupSnapshotContent .Spec .VolumeGroupSnapshotRef .Namespace
563
563
@@ -727,14 +727,14 @@ func (ctrl *csiSnapshotCommonController) findPersistentVolumeByCSIDriverHandle(d
727
727
}
728
728
729
729
// getSnapshotNameForVolumeGroupSnapshotContent returns a unique snapshot name for a VolumeGroupSnapshotContent.
730
- func getSnapshotNameForVolumeGroupSnapshotContent (groupSnapshotContentUUID , volumeHandle string ) string {
731
- return fmt .Sprintf ("snapshot-%x" , sha256 .Sum256 ([]byte (groupSnapshotContentUUID + volumeHandle )))
730
+ func getSnapshotNameForVolumeGroupSnapshotContent (groupSnapshotUUID , volumeHandle string ) string {
731
+ return fmt .Sprintf ("snapshot-%x" , sha256 .Sum256 ([]byte (groupSnapshotUUID + volumeHandle )))
732
732
}
733
733
734
734
// getSnapshotContentNameForVolumeGroupSnapshotContent returns a unique content name for the
735
735
// passed in VolumeGroupSnapshotContent.
736
- func getSnapshotContentNameForVolumeGroupSnapshotContent (groupSnapshotContentUUID , volumeHandle string ) string {
737
- return fmt .Sprintf ("snapcontent-%x" , sha256 .Sum256 ([]byte (groupSnapshotContentUUID + volumeHandle )))
736
+ func getSnapshotContentNameForVolumeGroupSnapshotContent (groupSnapshotUUID , volumeHandle string ) string {
737
+ return fmt .Sprintf ("snapcontent-%x" , sha256 .Sum256 ([]byte (groupSnapshotUUID + volumeHandle )))
738
738
}
739
739
740
740
// getPreprovisionedGroupSnapshotContentFromStore tries to find a pre-provisioned
0 commit comments