change VolumeGroupSnapshotContentName to VolumeGroupSnapshotHandle in snapshot content status

This commit is contained in:
Raunak Pradip Shah
2023-11-08 11:51:59 +05:30
parent 1bf2305d28
commit 42151b59aa
6 changed files with 15 additions and 15 deletions

View File

@@ -421,10 +421,10 @@ type VolumeSnapshotContentStatus struct {
// +optional
Error *VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,5,opt,name=error,casttype=VolumeSnapshotError"`
// VolumeGroupSnapshotContentName is the name of the VolumeGroupSnapshotContent of
// which this VolumeSnapshotContent is a part of.
// VolumeGroupSnapshotHandle is the CSI "group_snapshot_id" of a group snapshot
// on the underlying storage system.
// +optional
VolumeGroupSnapshotContentName *string `json:"volumeGroupSnapshotContentName,omitempty" protobuf:"bytes,6,opt,name=volumeGroupSnapshotContentName"`
VolumeGroupSnapshotHandle *string `json:"volumeGroupSnapshotHandle,omitempty" protobuf:"bytes,6,opt,name=volumeGroupSnapshotHandle"`
}
// DeletionPolicy describes a policy for end-of-life maintenance of volume snapshot contents

View File

@@ -271,8 +271,8 @@ func (in *VolumeSnapshotContentStatus) DeepCopyInto(out *VolumeSnapshotContentSt
*out = new(VolumeSnapshotError)
(*in).DeepCopyInto(*out)
}
if in.VolumeGroupSnapshotContentName != nil {
in, out := &in.VolumeGroupSnapshotContentName, &out.VolumeGroupSnapshotContentName
if in.VolumeGroupSnapshotHandle != nil {
in, out := &in.VolumeGroupSnapshotHandle, &out.VolumeGroupSnapshotHandle
*out = new(string)
**out = **in
}