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

Issue 6496069: juju: update missing secrets if required (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by dave
Modified:
11 years, 8 months ago
Reviewers:
mp+122228
Visibility:
Public.

Description

juju: update missing secrets if required Update any missing secrets iff no secrets are present in the environment. https://code.launchpad.net/~dave-cheney/juju-core/084--conn-update-secrets-only-if-needed/+merge/122228 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : juju: update missing secrets if required #

Total comments: 2

Patch Set 3 : juju: update missing secrets if required #

Total comments: 4

Patch Set 4 : juju: update missing secrets if required #

Patch Set 5 : juju: update missing secrets if required #

Patch Set 6 : juju: update missing secrets if required #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -13 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M juju/conn.go View 1 2 3 4 2 chunks +35 lines, -11 lines 0 comments Download
M juju/conn_test.go View 1 2 3 4 2 chunks +21 lines, -2 lines 0 comments Download

Messages

Total messages: 14
dave_cheney.net
Please take a look.
11 years, 8 months ago (2012-08-31 10:15:12 UTC) #1
dave_cheney.net
Please take a look.
11 years, 8 months ago (2012-09-03 02:21:01 UTC) #2
niemeyer
https://codereview.appspot.com/6496069/diff/2002/juju/conn.go File juju/conn.go (right): https://codereview.appspot.com/6496069/diff/2002/juju/conn.go#newcode95 juju/conn.go:95: delete(secrets, k) I'm sorry, but this still doesn't look ...
11 years, 8 months ago (2012-09-04 15:09:55 UTC) #3
dave_cheney.net
https://codereview.appspot.com/6496069/diff/2002/juju/conn.go File juju/conn.go (right): https://codereview.appspot.com/6496069/diff/2002/juju/conn.go#newcode95 juju/conn.go:95: delete(secrets, k) On 2012/09/04 15:09:55, niemeyer wrote: > I'm ...
11 years, 8 months ago (2012-09-05 00:54:27 UTC) #4
niemeyer
On 2012/09/05 00:54:27, dfc wrote: > I'm sorry I don't understand the business logic here. ...
11 years, 8 months ago (2012-09-05 01:04:31 UTC) #5
dave_cheney.net
What if some of the secrets are present but others are not? On 05/09/2012, at ...
11 years, 8 months ago (2012-09-05 01:07:15 UTC) #6
niemeyer
On Tue, Sep 4, 2012 at 10:07 PM, Dave Cheney <dave@cheney.net> wrote: > What if ...
11 years, 8 months ago (2012-09-05 01:29:44 UTC) #7
dave_cheney.net
If you aren't worried about this edge case, that will make the logic simpler. Let ...
11 years, 8 months ago (2012-09-05 01:33:15 UTC) #8
niemeyer
On Tue, Sep 4, 2012 at 10:33 PM, Dave Cheney <dave@cheney.net> wrote: > If you ...
11 years, 8 months ago (2012-09-05 01:36:36 UTC) #9
dave_cheney.net
Please take a look.
11 years, 8 months ago (2012-09-06 02:07:16 UTC) #10
niemeyer
LGTM, thanks. https://codereview.appspot.com/6496069/diff/8001/juju/conn.go File juju/conn.go (right): https://codereview.appspot.com/6496069/diff/8001/juju/conn.go#newcode82 juju/conn.go:82: // from the local configuration. // updateSecrets ...
11 years, 8 months ago (2012-09-06 02:19:23 UTC) #11
dave_cheney.net
Thanks. Sorry there is a large merge conflict so I will need to repropose. https://codereview.appspot.com/6496069/diff/8001/juju/conn.go ...
11 years, 8 months ago (2012-09-06 02:44:08 UTC) #12
dave_cheney.net
Please take a look.
11 years, 8 months ago (2012-09-06 03:24:54 UTC) #13
dave_cheney.net
11 years, 8 months ago (2012-09-06 03:29:11 UTC) #14
*** Submitted:

juju: update missing secrets if required

Update any missing secrets iff no secrets are present in the environment.

R=niemeyer
CC=
https://codereview.appspot.com/6496069
Sign in to reply to this message.

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