Skip to content

Commit 36d7f26

Browse files
Prefix status fields with "is_" for clarity
Signed-off-by: Stefan Brus <[email protected]>
1 parent 71eca78 commit 36d7f26

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

proto/frequenz/api/dispatch/dispatch.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ message DispatchFilter {
9393
TimeIntervalFilter time_interval = 5;
9494

9595
// Filter by "active" status
96-
optional bool active = 6;
96+
optional bool is_active = 6;
9797

9898
// Filter by "dry run" status
99-
optional bool dry_run = 7;
99+
optional bool is_dry_run = 7;
100100
}
101101

102102
// Message representing one dispatch
@@ -123,10 +123,10 @@ message Dispatch {
123123
google.protobuf.Timestamp create_time = 7;
124124

125125
// The "active" status
126-
bool active = 8;
126+
bool is_active = 8;
127127

128128
// The "dry run" status
129-
bool dry_run = 9;
129+
bool is_dry_run = 9;
130130

131131
// The dispatch payload
132132
google.protobuf.Struct payload = 10;
@@ -156,10 +156,10 @@ message DispatchCreateRequest {
156156
DispatchComponentSelector selector = 5;
157157

158158
// The "active" status
159-
bool status = 6;
159+
bool is_active = 6;
160160

161161
// The "dry run" status
162-
bool dry_run = 7;
162+
bool is_dry_run = 7;
163163

164164
// The dispatch payload
165165
google.protobuf.Struct payload = 8;
@@ -189,10 +189,10 @@ message DispatchUpdateRequest {
189189
optional google.protobuf.Timestamp create_time = 7;
190190

191191
// The "active" status
192-
optional bool status = 8;
192+
optional bool is_active = 8;
193193

194194
// The "dry run" status
195-
optional bool dry_run = 9;
195+
optional bool is_dry_run = 9;
196196

197197
// The dispatch payload
198198
optional google.protobuf.Struct payload = 10;

0 commit comments

Comments
 (0)