-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verdi daemon status
: Do not except when no profiles are defined (#5874
) The command assumed that at least one profile would be defined and loaded but if this wasn't the case, for example after a clean install of a new instance, the command would except. A new utility decorator `requires_loaded_profile` is introduced that checks that a profile is loaded or a critical error is printed and the command is exited. This decorator is applied to `verdi daemon status` to fix the issue. Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
- Loading branch information
Showing
3 changed files
with
34 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
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