Skip to content

Commit 8bb6bbb

Browse files
Support filtering by is_active and is_dry_run statuses
Fixes #58 Signed-off-by: Stefan Brus <[email protected]>
1 parent 4086507 commit 8bb6bbb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

proto/frequenz/dispatch/v1/dispatch.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,14 @@ message DispatchFilter {
226226
// If no interval is provided, all dispatches starting from the
227227
// current timestamp will be included.
228228
TimeIntervalFilter time_interval = 2;
229+
230+
// Filter by active status
231+
// If this field is not set, dispatches of any active status will be included.
232+
optional bool is_active = 3;
233+
234+
// Filter by dry run status
235+
// If this field is not set, dispatches of any dry run status will be included.
236+
optional bool is_dry_run = 4;
229237
}
230238

231239
// A list of dispatches

0 commit comments

Comments
 (0)