Skip to content

Commit 6fbff56

Browse files
committed
Address spelling/grammar errors
1 parent 56f96a2 commit 6fbff56

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

csi.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ message ControllerUnpublishVolumeRequest {
789789
// section on how to use this field.
790790
map<string, string> secrets = 3 [(csi_secret) = true];
791791

792-
// Indicates SP MUST make the volume inacessible to the node or nodes
792+
// Indicates SP MUST make the volume inaccessible to the node or nodes
793793
// it is being unpublished from. Any attempt to read or write data
794794
// to a volume from a node that has been fenced MUST NOT succeed,
795795
// even if the volume remains staged and/or published on the node.
@@ -1558,10 +1558,10 @@ message NodeServiceCapability {
15581558
// or node publish RPC calls.
15591559
VOLUME_MOUNT_GROUP = 6 [(alpha_enum_value) = true];
15601560

1561-
// Indicates that the node supports the NodeUnpublishVolume.force
1562-
// field. Also indicates that the node supports the
1563-
// NodeUnstageVolume.force field if it also has the
1564-
// STAGE_UNSTAGE_VOLUME capability.
1561+
// Indicates that the Node Plugin supports the
1562+
// NodeUnpublishVolume.force field. Also indicates that the
1563+
// Node Plugin supports the NodeUnstageVolume.force field if
1564+
// it also has the STAGE_UNSTAGE_VOLUME capability.
15651565
FORCE_UNPUBLISH = 7 [(alpha_enum_value) = true];
15661566
}
15671567

lib/go/csi/csi.pb.go

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

spec.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ message ControllerUnpublishVolumeRequest {
13631363
// section on how to use this field.
13641364
map<string, string> secrets = 3 [(csi_secret) = true];
13651365
1366-
// Indicates SP MUST make the volume inacessible to the node or nodes
1366+
// Indicates SP MUST make the volume inaccessible to the node or nodes
13671367
// it is being unpublished from. Any attempt to read or write data
13681368
// to a volume from a node that has been fenced MUST NOT succeed,
13691369
// even if the volume remains staged and/or published on the node.
@@ -2231,8 +2231,8 @@ If the corresponding Controller Plugin has `PUBLISH_UNPUBLISH_VOLUME` controller
22312231
The CO MUST guarantee that this RPC is called after all `NodeUnpublishVolume` have been called and returned success for the given volume on the given node.
22322232

22332233
If the Node Plugin has the `FORCE_UNPUBLISH` capability, the CO MAY specify `force` as `true` in which case the Node Plugin MUST support unstaging volumes even when access has been revoked with `ControllerUnpublishVolume`.
2234-
Because data loss is inevitable in such circumstances, the `force` flag is an indication that success is desired even it if means losing data.
2235-
It is essential that after a successful call to `NodeUnstageVolume` that there be no buffered data on the node related to the volume which might result in unintetional modification of the volume if it were to be subsequently re-staged to that node.
2234+
Because data loss is inevitable in such circumstances, the `force` flag is an indication that success is desired even if it means losing data.
2235+
It is essential that after a successful call to `NodeUnstageVolume` that there will be no buffered data on the node related to the volume which might result in unintentional modification of the volume if it was to be subsequently re-staged to that node.
22362236

22372237
The Plugin SHALL assume that this RPC will be executed on the node where the volume is being used.
22382238

@@ -2422,8 +2422,8 @@ If the corresponding Controller Plugin has `PUBLISH_UNPUBLISH_VOLUME` controller
24222422
The Plugin SHALL assume that this RPC will be executed on the node where the volume is being used.
24232423

24242424
If the Node Plugin has the `FORCE_UNPUBLISH` capability, the CO MAY specify `force` as `true` in which case the Node Plugin MUST support unpublishing volumes even when access has been revoked with `ControllerUnpublishVolume`.
2425-
Because data loss is inevitable in such circumstances, the `force` flag is an indication that success is desired even it if means losing data.
2426-
It is essential that after a successful call to `NodeUnpublishVolume` that there be no buffered data on the node related to the volume which might result in unintetional modification of the volume if it were to be subsequently re-published to that node.
2425+
Because data loss is inevitable in such circumstances, the `force` flag is an indication that success is desired even if it means losing data.
2426+
It is essential that after a successful call to `NodeUnpublishVolume` that there will be no buffered data on the node related to the volume which might result in unintetional modification of the volume if it was to be subsequently re-published to that node.
24272427

24282428
This RPC is typically called by the CO when the workload using the volume is being moved to a different node, or all the workload using the volume on a node has finished.
24292429

@@ -2624,10 +2624,10 @@ message NodeServiceCapability {
26242624
// or node publish RPC calls.
26252625
VOLUME_MOUNT_GROUP = 6 [(alpha_enum_value) = true];
26262626
2627-
// Indicates that the node supports the NodeUnpublishVolume.force
2628-
// field. Also indicates that the node supports the
2629-
// NodeUnstageVolume.force field if it also has the
2630-
// STAGE_UNSTAGE_VOLUME capability.
2627+
// Indicates that the Node Plugin supports the
2628+
// NodeUnpublishVolume.force field. Also indicates that the
2629+
// Node Plugin supports the NodeUnstageVolume.force field if
2630+
// it also has the STAGE_UNSTAGE_VOLUME capability.
26312631
FORCE_UNPUBLISH = 7 [(alpha_enum_value) = true];
26322632
}
26332633

0 commit comments

Comments
 (0)