forked from canonical/operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: raise ModelError on unknown/error status set in Scenario (canoni…
…cal#1417) This copies across the fix from Harness to also be present in Scenario: if `status_set` is passed anything other than the valid statuses, then `ModelError` is raised (to better mimic what the Juju hook would actually do). Closes canonical/ops-scenario#202 (rather than copying it over to this repo). --------- Co-authored-by: Ben Hoyt <[email protected]>
- Loading branch information
1 parent
86d71fd
commit 68cf2d7
Showing
2 changed files
with
54 additions
and
2 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
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