Skip to content

Commit

Permalink
Re-word error message.
Browse files Browse the repository at this point in the history
Co-authored-by: Caner Derici <[email protected]>
  • Loading branch information
DanielArndt and cderici authored Nov 14, 2023
1 parent 747dc77 commit 84a394b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juju/client/jujudata.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def current_controller(self):
try:
return self._load_yaml('controllers.yaml', 'current-controller')
except FileNotFoundError:
raise JujuControllerNotFoundError('No controllers.yaml file found. Did you forget to bootstrap Juju?')
raise JujuControllerNotFoundError('No controllers.yaml file found. python-libjuju requires a bootstrapped Juju controller.')

def current_model(self, controller_name=None, model_only=False):
'''Return the current model, qualified by its controller name.
Expand Down

0 comments on commit 84a394b

Please sign in to comment.