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

Issue 90160044: cmd/juju/ensureavailability: default to 3 servers

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by jameinel
Modified:
10 years ago
Reviewers:
mp+216706, axw, wallyworld, rog
Visibility:
Public.

Description

cmd/juju/ensureavailability: default to 3 servers I filed bug #1311083 because we currently have a default of '-1' and we immediately fail when running the command. I don't think this is very good UI for a user. I think we can make an opinionated statement that n=3 is going to be the best for someone who wants to run this command. And that is what this patch does. https://code.launchpad.net/~jameinel/juju-core/ensure-availability-default-3-1311083/+merge/216706 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : cmd/juju/ensureavailability: default to 3 servers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -65 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/ensureavailability.go View 1 3 chunks +12 lines, -13 lines 0 comments Download
M cmd/juju/ensureavailability_test.go View 1 5 chunks +56 lines, -27 lines 0 comments Download
M state/addmachine.go View 1 3 chunks +13 lines, -6 lines 0 comments Download
M state/apiserver/client/client.go View 1 1 chunk +17 lines, -5 lines 0 comments Download
M state/apiserver/client/client_test.go View 1 2 chunks +78 lines, -12 lines 0 comments Download
M state/state_test.go View 1 2 chunks +56 lines, -2 lines 0 comments Download

Messages

Total messages: 7
jameinel
Please take a look.
10 years ago (2014-04-22 12:32:29 UTC) #1
axw
On 2014/04/22 12:32:29, jameinel wrote: > Please take a look. I originally just defaulted it ...
10 years ago (2014-04-22 12:42:23 UTC) #2
jameinel
On 2014/04/22 12:42:23, axw wrote: > On 2014/04/22 12:32:29, jameinel wrote: > > Please take ...
10 years ago (2014-04-22 14:11:08 UTC) #3
rog
On 2014/04/22 14:11:08, jameinel wrote: > On 2014/04/22 12:42:23, axw wrote: > > On 2014/04/22 ...
10 years ago (2014-04-22 14:18:32 UTC) #4
wallyworld
LGTM https://codereview.appspot.com/90160044/diff/1/cmd/juju/ensureavailability.go File cmd/juju/ensureavailability.go (right): https://codereview.appspot.com/90160044/diff/1/cmd/juju/ensureavailability.go#newcode36 cmd/juju/ensureavailability.go:36: juju ensure-availability nitpick - add another example showing ...
10 years ago (2014-04-23 04:05:14 UTC) #5
jameinel
Please take a look.
10 years ago (2014-04-23 06:55:47 UTC) #6
axw
10 years ago (2014-04-23 07:12:14 UTC) #7
On 2014/04/23 06:55:47, jameinel wrote:
> Please take a look.

LGTM
Sign in to reply to this message.

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