juju switch -l does not return list of env names
Bug #1250285 reported by
Kapil Thangavelu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Abel Deuring |
Bug Description
Per the docs the -l parameter to juju switch should list env names, instead it has no zero effect on output when JUJU_ENV is set.
-l, --list (= false)
list the environment names
kapil@realms-
Current environment: "local" (from JUJU_ENV)
kapil@realms-
Current environment: "local" (from JUJU_ENV)
kapil@realms-
1.17.0-saucy-amd64
Clearing JUJU_ENV allows -l to work.
Related branches
lp:~adeuring/juju-core/1250285
- Juju Engineering: Pending requested
-
Diff: 79 lines (+28/-16)2 files modifiedcmd/juju/switch.go (+20/-16)
cmd/juju/switch_test.go (+8/-0)
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.17.0 |
tags: | added: docs switch ui |
summary: |
- juju switch -l does not return list of env names + juju switch -l does not honour JUJU_HOME |
Changed in juju-core: | |
status: | Incomplete → Triaged |
status: | Triaged → Incomplete |
Changed in juju-core: | |
milestone: | 1.17.0 → none |
Changed in juju-core: | |
status: | New → Triaged |
description: | updated |
Changed in juju-core: | |
assignee: | nobody → Abel Deuring (adeuring) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.17.3 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
re docs that's the inline cli docs for ref. ie juju switch -h
On Tue, Nov 12, 2013 at 10:05 AM, Curtis Hovey <email address hidden> wrote:
> ** Changed in: juju-core /bugs.launchpad .net/bugs/ 1250285 /bugs.launchpad .net/juju- core/+bug/ 1250285/ +subscriptions
> Status: New => Triaged
>
> ** Changed in: juju-core
> Importance: Undecided => High
>
> ** Changed in: juju-core
> Milestone: None => 1.17.0
>
> ** Tags added: docs switch ui
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> juju switch -l does not return list of env names
>
> To manage notifications about this bug go to:
> https:/
>