canonical / maas-anvil

A snap for managing charmed MAAS deployments.
https://maas.io
Apache License 2.0
3 stars 7 forks source link

refactor: Remove `sunbeam` from error message in juju-login #48

Closed SK1Y101 closed 3 months ago

SK1Y101 commented 3 months ago
SK1Y101 commented 3 months ago

Using sunbeam.commands.utils.juju_login worked well, except on a failure would output the message:

Error: Deployment not bootstrapped or bootstrap process has not completed succesfully. Please run sunbeam cluster bootstrap

This implements the same functionality except using the anvil VerifyBootstrappedCheck which includes sanitation of sunbeam in error messages.