Skip to content

Commit

Permalink
Update comments about group snapshot id
Browse files Browse the repository at this point in the history
  • Loading branch information
xing-yang committed Feb 7, 2023
1 parent 4b8f143 commit 7445a3a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
10 changes: 6 additions & 4 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1200,10 +1200,12 @@ message Snapshot {
// The ID of the volume group snapshot that this snapshot is part of.
// It uniquely identifies the group snapshot on the storage system.
// This field is OPTIONAL.
// If this snapshot is a member of the volume group snapshot, the SP
// SHOULD provide the ID of the volume group snapshot in this field.
// If provided, CO MUST use this field to indicate that this snapshot
// is part of the specified group snapshot.
// If this snapshot is a member of a volume group snapshot, and it
// CAN NOT be deleted as a stand alone snapshot, then the SP
// MUST provide the ID of the volume group snapshot in this field.
// If provided, CO MUST use this field in subsequent snapshot volume
// group operations to indicate that this snapshot is part of the
// specified group snapshot.
// If not provided, CO SHALL not indicate this snapshot is part of
// a group snapshot and allow it to be deleted separately.
// If this message is inside a VolumeGroupSnapshot message, the value
Expand Down
10 changes: 6 additions & 4 deletions lib/go/csi/csi.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1910,10 +1910,12 @@ message Snapshot {
// The ID of the volume group snapshot that this snapshot is part of.
// It uniquely identifies the group snapshot on the storage system.
// This field is OPTIONAL.
// If this snapshot is a member of the volume group snapshot, the SP
// SHOULD provide the ID of the volume group snapshot in this field.
// If provided, CO MUST use this field to indicate that this snapshot
// is part of the specified group snapshot.
// If this snapshot is a member of a volume group snapshot, and it
// CAN NOT be deleted as a stand alone snapshot, then the SP
// MUST provide the ID of the volume group snapshot in this field.
// If provided, CO MUST use this field in subsequent snapshot volume
// group operations to indicate that this snapshot is part of the
// specified group snapshot.
// If not provided, CO SHALL not indicate this snapshot is part of
// a group snapshot and allow it to be deleted separately.
// If this message is inside a VolumeGroupSnapshot message, the value
Expand Down

0 comments on commit 7445a3a

Please sign in to comment.