Skip to content

Commit

Permalink
Made error_code and message repeated
Browse files Browse the repository at this point in the history
  • Loading branch information
xing-yang committed Feb 15, 2020
1 parent 5d9833c commit 5177b70
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 65 deletions.
6 changes: 3 additions & 3 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1358,11 +1358,11 @@ message VolumeHealth {
// The error code describing the health condition of the volume.
// This is an opaque field to CO.
// This field is REQUIRED.
string error_code = 2;
repeated string error_code = 2;

// The error message associated with the above error_code.
// The error messages associated with the above error codes.
// This field is OPTIONAL.
string message = 3;
repeated string message = 3;
}
message NodeGetCapabilitiesRequest {
// Intentionally empty.
Expand Down
118 changes: 59 additions & 59 deletions lib/go/csi/csi.pb.go

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

6 changes: 3 additions & 3 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -2366,11 +2366,11 @@ message VolumeHealth {
// The error code describing the health condition of the volume.
// This is an opaque field to CO.
// This field is REQUIRED.
string error_code = 2;
repeated string error_code = 2;
// The error message associated with the above error_code.
// The error messages associated with the above error codes.
// This field is OPTIONAL.
string message = 3;
repeated string message = 3;
}
```

Expand Down

0 comments on commit 5177b70

Please sign in to comment.