Skip to content

Commit c7269ca

Browse files
Akrogjdef
authored andcommitted
spec: Fix SnapshotSource commment
Comment in SnapshotSource make references as if it were a newly created snapshot instead of a reference to a source snapshot. Talking about "created snapshot" and how this id will be used in subsequent calls may be confusing. Comment is changed to reflect that it is an already existing source snapshot.
1 parent eff85c5 commit c7269ca

File tree

3 files changed

+79
-82
lines changed

3 files changed

+79
-82
lines changed

csi.proto

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,10 @@ message CreateVolumeRequest {
214214
// type fields MUST be specified.
215215
message VolumeContentSource {
216216
message SnapshotSource {
217-
// Contains identity information for the created snapshot. This
218-
// field is REQUIRED. The identity information will be used by
219-
// the CO in subsequent calls to refer to the provisioned snapshot.
220-
// Plugin is REQUIRED to support creating volume from snapshot if
221-
// it supports the capability CREATE_DELETE_SNAPSHOT.
217+
// Contains identity information for the existing source snapshot.
218+
// This field is REQUIRED. Plugin is REQUIRED to support creating
219+
// volume from snapshot if it supports the capability
220+
// CREATE_DELETE_SNAPSHOT.
222221
string id = 1;
223222
}
224223

0 commit comments

Comments
 (0)