Skip to content

Commit

Permalink
Use .google.protobuf.BoolValue
Browse files Browse the repository at this point in the history
  • Loading branch information
xing-yang committed Apr 1, 2020
1 parent 5d52981 commit b8fd289
Show file tree
Hide file tree
Showing 3 changed files with 244 additions and 363 deletions.
19 changes: 4 additions & 15 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1362,21 +1362,10 @@ message VolumeUsage {
message VolumeCondition {
option (alpha_message) = true;

// Status represents the current status of a condition
message Status {
enum Type {
CONDITION_UNKNOWN = 0;
CONDITION_TRUE = 1;
CONDITION_FALSE = 2;
}
Type type = 1;
}

oneof type {
// Indicates the health condition of a volume is not normal.
// This field is REQUIRED.
Status abnormal = 1;
}
// Indicates the health condition of a volume is not normal.
// This field is OPTIONAL. If not present, it indicates the
// health condition is unknown.
.google.protobuf.BoolValue abnormal = 1;

// The message describing the health condition of the volume.
// This field is REQUIRED.
Expand Down
Loading

0 comments on commit b8fd289

Please sign in to comment.