Skip to content

Commit 5177b70

Browse files
committed
Made error_code and message repeated
1 parent 5d9833c commit 5177b70

File tree

3 files changed

+65
-65
lines changed

3 files changed

+65
-65
lines changed

csi.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,11 +1358,11 @@ message VolumeHealth {
13581358
// The error code describing the health condition of the volume.
13591359
// This is an opaque field to CO.
13601360
// This field is REQUIRED.
1361-
string error_code = 2;
1361+
repeated string error_code = 2;
13621362

1363-
// The error message associated with the above error_code.
1363+
// The error messages associated with the above error codes.
13641364
// This field is OPTIONAL.
1365-
string message = 3;
1365+
repeated string message = 3;
13661366
}
13671367
message NodeGetCapabilitiesRequest {
13681368
// Intentionally empty.

lib/go/csi/csi.pb.go

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

spec.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2366,11 +2366,11 @@ message VolumeHealth {
23662366
// The error code describing the health condition of the volume.
23672367
// This is an opaque field to CO.
23682368
// This field is REQUIRED.
2369-
string error_code = 2;
2369+
repeated string error_code = 2;
23702370
2371-
// The error message associated with the above error_code.
2371+
// The error messages associated with the above error codes.
23722372
// This field is OPTIONAL.
2373-
string message = 3;
2373+
repeated string message = 3;
23742374
}
23752375
```
23762376

0 commit comments

Comments
 (0)