Merge lp:~frankban/juju-core/env-name-in-context into lp:~go-bot/juju-core/trunk
Proposed by
Francesco Banconi
Status: | Merged |
---|---|
Approved by: | Francesco Banconi |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2289 |
Proposed branch: | lp:~frankban/juju-core/env-name-in-context |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
375 lines (+118/-37) 12 files modified
doc/charms-in-action.txt (+1/-0) state/api/params/internal.go (+9/-1) state/api/uniter/environ.go (+9/-18) state/api/uniter/environ_test.go (+15/-7) state/api/uniter/uniter.go (+32/-1) state/apiserver/uniter/uniter.go (+11/-0) state/apiserver/uniter/uniter_test.go (+13/-0) state/environ.go (+5/-0) state/environ_test.go (+4/-0) worker/uniter/context.go (+7/-2) worker/uniter/context_test.go (+7/-2) worker/uniter/uniter.go (+5/-6) |
To merge this branch: | bzr merge lp:~frankban/juju-core/env-name-in-context |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+204450@code.launchpad.net |
Commit message
Add the environment name to the hooks context.
Expose the human friendly environment name to the
hooks through the JUJU_ENV_NAME environment variable.
This is required e.g. by the GUI in order to give to the user
a hint about where to find the password to log in.
Description of the change
Add the environment name to the hooks context.
Expose the human friendly environment name to the
hooks through the JUJU_ENV_NAME environment variable.
This is required e.g. by the GUI in order to give to the user
a hint about where to find the password to log in.
To post a comment you must log in.
Reviewers: mp+204450_ code.launchpad. net,
Message:
Please take a look.
Description:
Add the environment name to the hooks context.
Expose the human friendly environment name to the
hooks through the JUJU_ENV_NAME environment variable.
This is required e.g. by the GUI in order to give to the user
a hint about where to find the password to log in.
https:/ /code.launchpad .net/~frankban/ juju-core/ env-name- in-context/ +merge/ 204450
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/50090044/
Affected files (+113, -38 lines): in-action. txt params/ internal. go uniter/ environ. go uniter/ environ_ test.go uniter/ uniter. go /uniter/ uniter. go /uniter/ uniter_ test.go test.go uniter/ context. go uniter/ context_ test.go uniter/ uniter. go
A [revision details]
M doc/charms-
M state/api/
M state/api/
M state/api/
M state/api/
M state/apiserver
M state/apiserver
M state/environ.go
M state/environ_
M worker/
M worker/
M worker/