-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor group cancellation and move the code from main() into functions analogous to the jobs cancellation functions. Add function cancel_group and its helpers. We have omitted some constraints from the old code: The group to be cancelled is no longer required to have groups_status OK and is no longer required to have pending or running jobs. So it is now accepted to cancel an inactive group and it is not an error to cancel a group multiple times. The old code will be removed in the next commit to get cleaner diffs.
- Loading branch information
Showing
1 changed file
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters