[UX] juju add-cloud should use the cloud name provided in the config file

Bug #1622606 reported by Chris Glass
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned

Bug Description

When adding a cloud to juju via the "add-cloud" command, if the name given as an argument differs from the name passed in the file (if the file has a single cloud), juju complains

ERROR cloud "<name>" not found in file "config.json"

Since the config file contains only a single cloud, it would be nice from a UX perspective to:

- Make the cloud name optional in the CLI (use the one from the file)
- If the cloud name is provided by the user, ignore the one in the config file and use whatever the user gave.

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.1.0
tags: added: usability
no longer affects: juju-core
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1-rc2 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.