Skip to content

Commit

Permalink
spec: rebase field numbers for v1
Browse files Browse the repository at this point in the history
The spec package name was recently changed to v1, providing us the
chance to properly number message fields starting from 1.

* ControllerGetCapabilitiesResponse
* GetPluginCapabilitiesResponse
  • Loading branch information
James DeFelice authored and jdef committed Nov 13, 2018
1 parent 163d542 commit b44559b
Show file tree
Hide file tree
Showing 3 changed files with 271 additions and 271 deletions.
4 changes: 2 additions & 2 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ message GetPluginCapabilitiesRequest {
message GetPluginCapabilitiesResponse {
// All the capabilities that the controller service supports. This
// field is OPTIONAL.
repeated PluginCapability capabilities = 2;
repeated PluginCapability capabilities = 1;
}

// Specifies a capability of the plugin.
Expand Down Expand Up @@ -798,7 +798,7 @@ message ControllerGetCapabilitiesRequest {
message ControllerGetCapabilitiesResponse {
// All the capabilities that the controller service supports. This
// field is OPTIONAL.
repeated ControllerServiceCapability capabilities = 2;
repeated ControllerServiceCapability capabilities = 1;
}

// Specifies a capability of the controller service.
Expand Down
Loading

0 comments on commit b44559b

Please sign in to comment.