Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3547)

Issue 9810044: Take the juju API address from the environment

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by frankban
Modified:
10 years, 11 months ago
Reviewers:
bac, mp+166808, teknico
Visibility:
Public.

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)

Patch Set 1 #

Total comments: 6

Patch Set 2 : Take the juju API address from the environment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -27 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M hooks/utils.py View 2 chunks +18 lines, -7 lines 0 comments Download
M revision View 1 chunk +1 line, -1 line 0 comments Download
M tests/test_utils.py View 2 chunks +62 lines, -19 lines 0 comments Download

Messages

Total messages: 5
frankban
Please take a look.
10 years, 11 months ago (2013-05-31 14:29:10 UTC) #1
teknico
LGTM, nice code and tests. A few trivials. https://codereview.appspot.com/9810044/diff/1/hooks/utils.py File hooks/utils.py (right): https://codereview.appspot.com/9810044/diff/1/hooks/utils.py#newcode135 hooks/utils.py:135: base_dir ...
10 years, 11 months ago (2013-05-31 15:22:04 UTC) #2
bac
LGTM, thanks https://codereview.appspot.com/9810044/diff/1/tests/test_utils.py File tests/test_utils.py (right): https://codereview.appspot.com/9810044/diff/1/tests/test_utils.py#newcode98 tests/test_utils.py:98: agent file containing the addresses. So I ...
10 years, 11 months ago (2013-06-03 13:08:36 UTC) #3
frankban
*** Submitted: Take the juju API address from the environment The charm now tries to ...
10 years, 11 months ago (2013-06-03 14:46:33 UTC) #4
frankban
10 years, 11 months ago (2013-06-03 14:48:26 UTC) #5
Thanks fro the reviews Nicola and Brad!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b