err if environment vars controller conflicts

Bug #1817745 reported by Anastasia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

It is possible to specify what controller model commands will use via $$JUJU_CONTROLLER=<controller name> and $JUJU_MODEL=<controller name>:<model name> environment variables.

If commands do not have a controller name explicitly stated as part of either '-m <controller name>:<controller model>' or '-c <controller name>' but there are both environment variables present and their controller name differ, we should err out until user clarifies what is needed.

Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju:
status: Triaged → In Progress
Changed in juju:
milestone: 2.5.3 → 2.5.2
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.