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

Issue 6623047: cmd/jujud: make bootstrap-state accept password

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

Description

cmd/jujud: make bootstrap-state accept password This makes bootstrap-state accept all the same flags as the agents (including --data-dir which it doesn't use; but it seems to me that it may well use it in the future). https://code.launchpad.net/~rogpeppe/juju-core/107-jujud-bootstrap-initial-password/+merge/128210 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/jujud: make bootstrap-state accept password #

Patch Set 3 : cmd/jujud: make bootstrap-state accept password #

Patch Set 4 : cmd/jujud: make bootstrap-state accept password #

Total comments: 2

Patch Set 5 : cmd/jujud: make bootstrap-state accept password #

Patch Set 6 : cmd/jujud: make bootstrap-state accept password #

Patch Set 7 : cmd/jujud: make bootstrap-state accept password #

Patch Set 8 : cmd/jujud: make bootstrap-state accept password #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -19 lines) Patch
A [revision details] View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/bootstrap.go View 1 2 3 4 5 6 1 chunk +8 lines, -1 line 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 2 3 4 5 6 3 chunks +79 lines, -18 lines 0 comments Download

Messages

Total messages: 11
rog
Please take a look.
11 years, 7 months ago (2012-10-05 10:45:24 UTC) #1
rog
Please take a look.
11 years, 7 months ago (2012-10-05 10:47:33 UTC) #2
fwereade
I don't really think it's right to advertise and accept flags that don't do anything, ...
11 years, 7 months ago (2012-10-05 11:29:51 UTC) #3
niemeyer
https://codereview.appspot.com/6623047/diff/6001/cmd/jujud/bootstrap.go File cmd/jujud/bootstrap.go (right): https://codereview.appspot.com/6623047/diff/6001/cmd/jujud/bootstrap.go#newcode26 cmd/jujud/bootstrap.go:26: c.Conf.addFlags(f) Adding --data-dir on bootstrap-state doesn't worry me too ...
11 years, 7 months ago (2012-10-05 15:33:41 UTC) #4
rog
Please take a look.
11 years, 7 months ago (2012-10-05 15:57:01 UTC) #5
rog
https://codereview.appspot.com/6623047/diff/6001/cmd/jujud/bootstrap.go File cmd/jujud/bootstrap.go (right): https://codereview.appspot.com/6623047/diff/6001/cmd/jujud/bootstrap.go#newcode26 cmd/jujud/bootstrap.go:26: c.Conf.addFlags(f) On 2012/10/05 15:33:42, niemeyer wrote: > Adding --data-dir ...
11 years, 7 months ago (2012-10-05 15:57:24 UTC) #6
niemeyer
LGTM
11 years, 7 months ago (2012-10-05 17:21:02 UTC) #7
rog
*** Submitted: cmd/jujud: make bootstrap-state accept password This makes bootstrap-state accept all the same flags ...
11 years, 7 months ago (2012-10-05 17:37:44 UTC) #8
rog
Please take a look.
11 years, 7 months ago (2012-10-08 17:05:51 UTC) #9
niemeyer
On 2012/10/08 17:05:51, rog wrote: > Please take a look. Roger, this branch was submitted ...
11 years, 7 months ago (2012-10-08 20:42:58 UTC) #10
niemeyer
11 years, 7 months ago (2012-10-08 20:44:24 UTC) #11
Yeah, looks like the merged state was corrupted.
Sign in to reply to this message.

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