Comment 1 for bug 1505504

Revision history for this message
Cheryl Jennings (cherylj) wrote : Re: error when destroying current environment in a multi-environment scenario

In your example, if you've already got the connection details for env 'website-analytics' (through creating the environment yourself, or through a prior use-env command), you can use juju switch and you can work around this issue.

Destroying the current environment should probably put us back into the system context for whatever system was hosting the environment that was just destroyed.