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

Issue 11003044: Implemented service.EnsureMinUnits().

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by frankban
Modified:
10 years, 9 months ago
Reviewers:
dimitern, dave, mp+173547, fwereade
Visibility:
Public.

Description

Implemented service.EnsureMinUnits(). This method will be used by the MinUnits worker to react to changes in the minUnits document. https://code.launchpad.net/~frankban/juju-core/ensure-min-units/+merge/173547 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Implemented service.EnsureMinUnits(). #

Total comments: 13

Patch Set 3 : Implemented service.EnsureMinUnits(). #

Total comments: 40

Patch Set 4 : Implemented service.EnsureMinUnits(). #

Patch Set 5 : Implemented service.EnsureMinUnits(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -10 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M state/export_test.go View 1 2 3 2 chunks +17 lines, -3 lines 0 comments Download
M state/minimumunits.go View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
M state/minimumunits_test.go View 1 2 3 3 chunks +187 lines, -2 lines 0 comments Download
M state/relationunit.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M state/service.go View 1 2 4 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 12
frankban
Please take a look.
10 years, 10 months ago (2013-07-08 16:41:35 UTC) #1
frankban
Please take a look.
10 years, 10 months ago (2013-07-08 17:20:28 UTC) #2
dave_cheney.net
https://codereview.appspot.com/11003044/diff/4001/state/minimumunits.go File state/minimumunits.go (right): https://codereview.appspot.com/11003044/diff/4001/state/minimumunits.go#newcode133 state/minimumunits.go:133: s.doc.UnitCount = service.doc.UnitCount i'm not a fan of this ...
10 years, 9 months ago (2013-07-08 23:29:59 UTC) #3
fwereade
looking really good; sorry to leave you hanging, just a couple of preliminary comments here, ...
10 years, 9 months ago (2013-07-09 18:48:04 UTC) #4
fwereade
Sorry, I think this needs a couple of tweaks. https://codereview.appspot.com/11003044/diff/4001/state/minimumunits.go File state/minimumunits.go (right): https://codereview.appspot.com/11003044/diff/4001/state/minimumunits.go#newcode171 state/minimumunits.go:171: ...
10 years, 9 months ago (2013-07-10 08:33:44 UTC) #5
frankban
Please take a look. https://codereview.appspot.com/11003044/diff/4001/state/minimumunits.go File state/minimumunits.go (right): https://codereview.appspot.com/11003044/diff/4001/state/minimumunits.go#newcode133 state/minimumunits.go:133: s.doc.UnitCount = service.doc.UnitCount On 2013/07/09 ...
10 years, 9 months ago (2013-07-11 07:58:43 UTC) #6
dimitern
Looks promising, but I think it needs some improvements. https://codereview.appspot.com/11003044/diff/11001/state/export_test.go File state/export_test.go (right): https://codereview.appspot.com/11003044/diff/11001/state/export_test.go#newcode71 state/export_test.go:71: ...
10 years, 9 months ago (2013-07-11 20:05:11 UTC) #7
frankban
Please take a look. https://codereview.appspot.com/11003044/diff/11001/state/export_test.go File state/export_test.go (right): https://codereview.appspot.com/11003044/diff/11001/state/export_test.go#newcode71 state/export_test.go:71: // immediately after the next ...
10 years, 9 months ago (2013-07-12 10:07:22 UTC) #8
fwereade
LGTM, but I'm interested to hear dimitern's further thoughts. https://codereview.appspot.com/11003044/diff/11001/state/minimumunits.go File state/minimumunits.go (right): https://codereview.appspot.com/11003044/diff/11001/state/minimumunits.go#newcode134 state/minimumunits.go:134: ...
10 years, 9 months ago (2013-07-15 11:02:53 UTC) #9
dimitern
LGTM I should've read more carefully in some places, sorry about the unnecessary ranting :) ...
10 years, 9 months ago (2013-07-15 11:28:23 UTC) #10
frankban
On 2013/07/15 11:28:23, dimitern wrote: > LGTM > > I should've read more carefully in ...
10 years, 9 months ago (2013-07-15 12:10:52 UTC) #11
frankban
10 years, 9 months ago (2013-07-15 12:15:29 UTC) #12
Please take a look.
Sign in to reply to this message.

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