diff --git a/e2e/volumegroupsnapshot_base.go b/e2e/volumegroupsnapshot_base.go index d747a925c49..4e0030d174a 100644 --- a/e2e/volumegroupsnapshot_base.go +++ b/e2e/volumegroupsnapshot_base.go @@ -265,7 +265,7 @@ func (v *volumeGroupSnapshotterBase) DeletePods(pods []*v1.Pod) error { return nil } -func (v volumeGroupSnapshotterBase) CreateVolumeGroupSnapshotClass( +func (v *volumeGroupSnapshotterBase) CreateVolumeGroupSnapshotClass( groupSnapshotClass *groupsnapapi.VolumeGroupSnapshotClass, ) error { return wait.PollUntilContextTimeout( @@ -288,7 +288,7 @@ func (v volumeGroupSnapshotterBase) CreateVolumeGroupSnapshotClass( }) } -func (v volumeGroupSnapshotterBase) CreateVolumeGroupSnapshot(name, +func (v *volumeGroupSnapshotterBase) CreateVolumeGroupSnapshot(name, volumeGroupSnapshotClassName string, labels map[string]string, ) (*groupsnapapi.VolumeGroupSnapshot, error) { namespace := v.namespace @@ -358,7 +358,7 @@ func (v volumeGroupSnapshotterBase) CreateVolumeGroupSnapshot(name, return groupSnapshot, nil } -func (v volumeGroupSnapshotterBase) DeleteVolumeGroupSnapshot(volumeGroupSnapshotName string) error { +func (v *volumeGroupSnapshotterBase) DeleteVolumeGroupSnapshot(volumeGroupSnapshotName string) error { namespace := v.namespace ctx := context.TODO() err := v.groupclient.VolumeGroupSnapshots(namespace).Delete( @@ -397,7 +397,7 @@ func (v volumeGroupSnapshotterBase) DeleteVolumeGroupSnapshot(volumeGroupSnapsho }) } -func (v volumeGroupSnapshotterBase) DeleteVolumeGroupSnapshotClass(groupSnapshotClassName string) error { +func (v *volumeGroupSnapshotterBase) DeleteVolumeGroupSnapshotClass(groupSnapshotClassName string) error { ctx := context.TODO() err := v.groupclient.VolumeGroupSnapshotClasses().Delete( ctx, groupSnapshotClassName, metav1.DeleteOptions{})