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

Issue 8534043: state: add status to allwatcher unit and machine

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by rog
Modified:
11 years ago
Reviewers:
mp+157765, frankban, fwereade, TheMue
Visibility:
Public.

Description

state: add status to allwatcher unit and machine https://code.launchpad.net/~rogpeppe/juju-core/274-megawatcher-unit-status/+merge/157765 Requires: https://code.launchpad.net/~rogpeppe/juju-core/275-multiwatcher-get/+merge/157764 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: add status to allwatcher unit and machine #

Patch Set 3 : state: add status to allwatcher unit and machine #

Total comments: 2

Patch Set 4 : state: add status to allwatcher unit and machine #

Total comments: 4

Patch Set 5 : state: add status to allwatcher unit and machine #

Patch Set 6 : state: add status to allwatcher unit and machine #

Total comments: 2

Patch Set 7 : state: add status to allwatcher unit and machine #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -22 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/machine_test.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M state/api/params/params.go View 2 chunks +4 lines, -0 lines 0 comments Download
M state/api/params/params_test.go View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M state/apiserver/api_test.go View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M state/megawatcher.go View 1 2 3 4 5 14 chunks +111 lines, -8 lines 0 comments Download
M state/megawatcher_internal_test.go View 1 2 3 4 15 chunks +157 lines, -9 lines 0 comments Download

Messages

Total messages: 11
rog
Please take a look.
11 years ago (2013-04-08 22:45:21 UTC) #1
rog
Please take a look.
11 years ago (2013-04-09 08:09:01 UTC) #2
rog
Please take a look.
11 years ago (2013-04-09 09:37:38 UTC) #3
TheMue
LGTM, only one comment. https://codereview.appspot.com/8534043/diff/5001/state/megawatcher.go File state/megawatcher.go (right): https://codereview.appspot.com/8534043/diff/5001/state/megawatcher.go#newcode170 state/megawatcher.go:170: // We duplicate Interesting comment. ...
11 years ago (2013-04-09 09:59:38 UTC) #4
rog
Please take a look.
11 years ago (2013-04-09 10:16:54 UTC) #5
rog
Please take a look. https://codereview.appspot.com/8534043/diff/5001/state/megawatcher.go File state/megawatcher.go (right): https://codereview.appspot.com/8534043/diff/5001/state/megawatcher.go#newcode170 state/megawatcher.go:170: // We duplicate On 2013/04/09 ...
11 years ago (2013-04-09 10:18:45 UTC) #6
TheMue
On 2013/04/09 10:18:45, rog wrote: > Please take a look. > > https://codereview.appspot.com/8534043/diff/5001/state/megawatcher.go > File ...
11 years ago (2013-04-09 10:20:33 UTC) #7
fwereade
I understand your discomfort with the status round-trips, but I think we'll be able to ...
11 years ago (2013-04-09 10:31:25 UTC) #8
rog
*** Submitted: state: add status to allwatcher unit and machine R=TheMue, fwereade CC= https://codereview.appspot.com/8534043 https://codereview.appspot.com/8534043/diff/8002/state/apiserver/api_test.go ...
11 years ago (2013-04-09 10:34:46 UTC) #9
frankban
FWIW LGTM too! Thanks Roger, we are now unblocked on the GUI side re: statuses. ...
11 years ago (2013-04-09 10:37:58 UTC) #10
rog
11 years ago (2013-04-09 10:43:48 UTC) #11
https://codereview.appspot.com/8534043/diff/9001/state/megawatcher.go
File state/megawatcher.go (right):

https://codereview.appspot.com/8534043/diff/9001/state/megawatcher.go#newcode285
state/megawatcher.go:285: // modify a primary entity.
On 2013/04/09 10:37:59, frankban wrote:
> only to modify

yup. will fix in subsequent branch.

https://codereview.appspot.com/8534043/diff/9001/state/megawatcher_internal_t...
File state/megawatcher_internal_test.go (right):

https://codereview.appspot.com/8534043/diff/9001/state/megawatcher_internal_t...
state/megawatcher_internal_test.go:668: // StateWatcher tests the integration of
the state watcher
On 2013/04/09 10:37:59, frankban wrote:
> Maybe this is TestStateWatcher?

indeed, good catch. will fix in subsequent branch.
Sign in to reply to this message.

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