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

Issue 13970043: environs: store bootstrap config in info

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rog
Modified:
10 years, 7 months ago
Reviewers:
mp+187788, natefinch
Visibility:
Public.

Description

environs: store bootstrap config in info Also change the juju package so it connects using that info when available. However currently we can't rely on having it because old juju environments will have no environment info file, so we fall back to using the original configuration attributes as before. https://code.launchpad.net/~rogpeppe/juju-core/419-juju-use-bootstrap-attrs/+merge/187788 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : juju: use EnvironInfo.BootstrapConfig #

Patch Set 3 : juju: use EnvironInfo.BootstrapConfig #

Patch Set 4 : juju: use EnvironInfo.BootstrapConfig #

Patch Set 5 : environs: store bootstrap config in info #

Total comments: 3

Patch Set 6 : environs: store bootstrap config in info #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -135 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M environs/open.go View 2 chunks +13 lines, -14 lines 0 comments Download
M environs/open_test.go View 1 chunk +1 line, -0 lines 0 comments Download
M juju/api.go View 1 2 3 4 5 3 chunks +43 lines, -36 lines 0 comments Download
M juju/apiconn_test.go View 1 2 13 chunks +129 lines, -79 lines 0 comments Download
M juju/conn_test.go View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M testing/environ.go View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
rog
Please take a look.
10 years, 7 months ago (2013-09-26 16:25:55 UTC) #1
natefinch
LGTM with just the one super minor thing https://codereview.appspot.com/13970043/diff/9001/juju/api.go File juju/api.go (right): https://codereview.appspot.com/13970043/diff/9001/juju/api.go#newcode126 juju/api.go:126: if ...
10 years, 7 months ago (2013-09-26 18:13:29 UTC) #2
rog
10 years, 7 months ago (2013-09-26 18:29:44 UTC) #3
Please take a look.

https://codereview.appspot.com/13970043/diff/9001/juju/api.go
File juju/api.go (right):

https://codereview.appspot.com/13970043/diff/9001/juju/api.go#newcode126
juju/api.go:126: if !errors.IsNotFoundError(err) {
On 2013/09/26 18:13:29, nate.finch wrote:
> Seems like you could combine the two if statements... I found it confusing to
> have them separated, I almost thought you had accidentally missed handling
some
> error.

Done.
Sign in to reply to this message.

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