Merge lp:~frankban/charms/precise/juju-gui/api-address into lp:~juju-gui/charms/precise/juju-gui/trunk
Proposed by
Francesco Banconi
Status: | Merged |
---|---|
Merged at revision: | 61 |
Proposed branch: | lp:~frankban/charms/precise/juju-gui/api-address |
Merge into: | lp:~juju-gui/charms/precise/juju-gui/trunk |
Diff against target: |
152 lines (+81/-27) 3 files modified
hooks/utils.py (+18/-7) revision (+1/-1) tests/test_utils.py (+62/-19) |
To merge this branch: | bzr merge lp:~frankban/charms/precise/juju-gui/api-address |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
charmers | Pending | ||
Review via email: mp+166808@code.launchpad.net |
Description of the change
Take the juju API address from the environment
The charm now tries to retrieve the juju API
address from the hook context before parsing
the machiner agent file.
This way we take advantage of a change in juju-core
currently in review, which introduces the corresponding
functionality.
To post a comment you must log in.
Reviewers: mp+166808_ code.launchpad. net,
Message:
Please take a look.
Description:
Take the juju API address from the environment
The charm now tries to retrieve the juju API
address from the hook context before parsing
the machiner agent file.
This way we take advantage of a change in juju-core
currently in review, which introduces the corresponding
functionality.
https:/ /code.launchpad .net/~frankban/ charms/ precise/ juju-gui/ api-address/ +merge/ 166808
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/9810044/
Affected files:
A [revision details]
M hooks/utils.py
M revision
M tests/test_utils.py