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

Issue 6622047: state: make SetAdminPassword("") idempotent

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

Description

state: make SetAdminPassword("") idempotent https://code.launchpad.net/~rogpeppe/juju-core/109-state-idempotent-setadminpassword/+merge/128233 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: make SetAdminPassword("") idempotent #

Total comments: 3

Patch Set 3 : state: make SetAdminPassword("") idempotent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/state.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M state/state_test.go View 1 2 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 5
rog
Please take a look.
11 years, 6 months ago (2012-10-05 12:02:55 UTC) #1
rog
Please take a look.
11 years, 6 months ago (2012-10-05 12:04:33 UTC) #2
TheMue
LGTM
11 years, 6 months ago (2012-10-05 12:19:02 UTC) #3
niemeyer
LGTM https://codereview.appspot.com/6622047/diff/3001/state/state.go File state/state.go (right): https://codereview.appspot.com/6622047/diff/3001/state/state.go#newcode555 state/state.go:555: return fmt.Errorf("cannot remove admin user; %v", err) It ...
11 years, 6 months ago (2012-10-05 15:47:03 UTC) #4
rog
11 years, 6 months ago (2012-10-05 16:44:06 UTC) #5
*** Submitted:

state: make SetAdminPassword("") idempotent

R=TheMue, niemeyer
CC=
https://codereview.appspot.com/6622047

https://codereview.appspot.com/6622047/diff/3001/state/state.go
File state/state.go (right):

https://codereview.appspot.com/6622047/diff/3001/state/state.go#newcode555
state/state.go:555: return fmt.Errorf("cannot remove admin user; %v", err)
On 2012/10/05 15:47:04, niemeyer wrote:
> It was correctly following our convention before: s/;/:/

oops, debugging relic. done.
Sign in to reply to this message.

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