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

Issue 11574044: state/api: Implement Machiner.Watch (Closed)

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

Description

state/api: Implement Machiner.Watch This is the last needed API call needed by the machiner worker. In a follow-up some cleaning up of the machiner facade and tests will be performed. https://code.launchpad.net/~dimitern/juju-core/074-api-machiner-watch/+merge/175850 Requires: https://code.launchpad.net/~dimitern/juju-core/073-apiserver-pinger-on-ma-connection/+merge/175833 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : state/api: Implement Machiner.Watch #

Total comments: 2

Patch Set 3 : state/api: Implement Machiner.Watch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -9 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/machiner/machine.go View 1 3 chunks +33 lines, -1 line 0 comments Download
M state/api/machiner/machiner.go View 1 2 chunks +7 lines, -8 lines 0 comments Download
M state/api/machiner/machiner_test.go View 1 2 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 5
dimitern
Please take a look.
10 years, 9 months ago (2013-07-19 14:32:49 UTC) #1
rog
LGTM except for the State->Machiner rename. https://codereview.appspot.com/11574044/diff/1/state/api/machiner/machiner.go File state/api/machiner/machiner.go (right): https://codereview.appspot.com/11574044/diff/1/state/api/machiner/machiner.go#newcode14 state/api/machiner/machiner.go:14: type Machiner struct ...
10 years, 9 months ago (2013-07-19 14:45:46 UTC) #2
dimitern
Please take a look. https://codereview.appspot.com/11574044/diff/1/state/api/machiner/machiner.go File state/api/machiner/machiner.go (right): https://codereview.appspot.com/11574044/diff/1/state/api/machiner/machiner.go#newcode14 state/api/machiner/machiner.go:14: type Machiner struct { On ...
10 years, 9 months ago (2013-07-19 16:01:55 UTC) #3
fwereade
LGTM https://codereview.appspot.com/11574044/diff/5001/state/api/machiner/machiner_test.go File state/api/machiner/machiner_test.go (right): https://codereview.appspot.com/11574044/diff/5001/state/api/machiner/machiner_test.go#newcode142 state/api/machiner/machiner_test.go:142: // Make the machine dying and check it's ...
10 years, 9 months ago (2013-07-19 17:10:11 UTC) #4
dimitern
10 years, 9 months ago (2013-07-19 18:07:34 UTC) #5
Please take a look.

https://codereview.appspot.com/11574044/diff/5001/state/api/machiner/machiner...
File state/api/machiner/machiner_test.go (right):

https://codereview.appspot.com/11574044/diff/5001/state/api/machiner/machiner...
state/api/machiner/machiner_test.go:142: // Make the machine dying and check
it's detected.
On 2013/07/19 17:10:11, fwereade wrote:
> s/dying/dead/

Done.
Sign in to reply to this message.

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