Skip to content

Commit

Permalink
spec: Remove trailing spaces.
Browse files Browse the repository at this point in the history
Spec file has a number of unnecessary trailing spaces.  This patch
removes them.
  • Loading branch information
Akrog authored and jdef committed May 31, 2018
1 parent df56d67 commit cb8c656
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 89 deletions.
20 changes: 10 additions & 10 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ service Controller {
returns (GetCapacityResponse) {}

rpc ControllerGetCapabilities (ControllerGetCapabilitiesRequest)
returns (ControllerGetCapabilitiesResponse) {}
returns (ControllerGetCapabilitiesResponse) {}

rpc CreateSnapshot (CreateSnapshotRequest)
returns (CreateSnapshotResponse) {}
Expand Down Expand Up @@ -255,7 +255,7 @@ message VolumeCapability {
// Therefore, the CO and the Plugin MUST NOT leak this information
// to untrusted entities. The total size of this repeated field
// SHALL NOT exceed 4 KiB.
repeated string mount_flags = 2;
repeated string mount_flags = 2;
}

// Specify how a volume can be accessed.
Expand Down Expand Up @@ -304,12 +304,12 @@ message VolumeCapability {
message CapacityRange {
// Volume MUST be at least this big. This field is OPTIONAL.
// A value of 0 is equal to an unspecified field value.
// The value of this field MUST NOT be negative.
// The value of this field MUST NOT be negative.
int64 required_bytes = 1;

// Volume MUST not be bigger than this. This field is OPTIONAL.
// A value of 0 is equal to an unspecified field value.
// The value of this field MUST NOT be negative.
// The value of this field MUST NOT be negative.
int64 limit_bytes = 2;
}

Expand All @@ -318,7 +318,7 @@ message Volume {
// The capacity of the volume in bytes. This field is OPTIONAL. If not
// set (value of 0), it indicates that the capacity of the volume is
// unknown (e.g., NFS share).
// The value of this field MUST NOT be negative.
// The value of this field MUST NOT be negative.
int64 capacity_bytes = 1;

// Contains identity information for the created volume. This field is
Expand Down Expand Up @@ -444,7 +444,7 @@ message ListVolumesRequest {
// in the subsequent `ListVolumes` call. This field is OPTIONAL. If
// not specified (zero value), it means there is no restriction on the
// number of entries that can be returned.
// The value of this field MUST NOT be negative.
// The value of this field MUST NOT be negative.
int32 max_entries = 1;

// A token to specify where to start paginating. Set this field to
Expand Down Expand Up @@ -490,7 +490,7 @@ message GetCapacityResponse {
// specified in the request, the Plugin SHALL take those into
// consideration when calculating the available capacity of the
// storage. This field is REQUIRED.
// The value of this field MUST NOT be negative.
// The value of this field MUST NOT be negative.
int64 available_capacity = 1;
}
message ControllerGetCapabilitiesRequest {
Expand Down Expand Up @@ -697,7 +697,7 @@ message NodeStageVolumeRequest {

// The path to which the volume will be published. It MUST be an
// absolute path in the root filesystem of the process serving this
// request. The CO SHALL ensure that there is only one
// request. The CO SHALL ensure that there is only one
// staging_target_path per volume.
// This is a REQUIRED field.
string staging_target_path = 3;
Expand Down Expand Up @@ -747,7 +747,7 @@ message NodePublishVolumeRequest {
// The path to which the device was mounted by `NodeStageVolume`.
// It MUST be an absolute path in the root filesystem of the process
// serving this request.
// It MUST be set if the Node Plugin implements the
// It MUST be set if the Node Plugin implements the
// `STAGE_UNSTAGE_VOLUME` node capability.
// This is an OPTIONAL field.
string staging_target_path = 3;
Expand Down Expand Up @@ -841,7 +841,7 @@ message NodeGetInfoResponse {
string node_id = 1;

// Maximum number of volumes that controller can publish to the node.
// If value is not set or zero CO SHALL decide how many volumes of
// If value is not set or zero CO SHALL decide how many volumes of
// this type can be published by the controller to the node. The
// plugin MUST NOT set negative values here.
// This field is OPTIONAL.
Expand Down
Loading

0 comments on commit cb8c656

Please sign in to comment.