Skip to content

Commit 2c63f95

Browse files
committed
Improve VolumeSnapshotPairList comments
1 parent 42b9deb commit 2c63f95

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

client/apis/volumegroupsnapshot/v1beta1/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,11 @@ type GroupSnapshotHandles struct {
391391
type VolumeSnapshotHandlePair struct {
392392
// VolumeHandle is a unique id returned by the CSI driver to identify a volume
393393
// on the storage system
394+
// Required.
394395
VolumeHandle string `json:"volumeHandle" protobuf:"bytes,1,opt,name=volumeHandle"`
395396

396397
// SnapshotHandle is a unique id returned by the CSI driver to identify a volume
397398
// snapshot on the storage system
399+
// Required.
398400
SnapshotHandle string `json:"snapshotHandle" protobuf:"bytes,2,opt,name=snapshotHandle"`
399401
}

client/config/crd/groupsnapshot.storage.k8s.io_volumegroupsnapshotcontents.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,13 @@ spec:
301301
description: |-
302302
SnapshotHandle is a unique id returned by the CSI driver to identify a volume
303303
snapshot on the storage system
304+
Required.
304305
type: string
305306
volumeHandle:
306307
description: |-
307308
VolumeHandle is a unique id returned by the CSI driver to identify a volume
308309
on the storage system
310+
Required.
309311
type: string
310312
required:
311313
- snapshotHandle

vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/types.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)