juju switch command prints an error when tab is typed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I had just destroyed a controller and had no model or controller set. When I tried to switch to another controller and used tab completion an ERROR was generated. Here is what I saw on the terminal:
$ juju switch conjure-upERROR no currently specified model
error: No selected controller.
Please use "juju switch" to select a controller.
-localhost-763:con
The controller I was trying to switch to is "conjure-
I have the snap of juju installed via conjure-up.
$ which juju
/snap/bin/juju
$ juju --version
2.1.2-yakkety-amd64
$ sudo snap list
Name Version Rev Developer Notes
charm 2.2 11 charms classic
conjure-up 2.1.2 117 canonical classic
core 16-2 1337 canonical -
lxd 2.10.1 1463 canonical -
I do not believe it is broken :) I don't think we have ever supported tab completion in 'juju switch'.
I am renaming the report and putting it on the Wishlist.