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

Issue 6631046: state: update ServiceRelationsWatcher

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

Description

state: update ServiceRelationsWatcher Add lifecycle support to the ServiceRelationsWatcher and make it a new style watcher that only returns ids. https://code.launchpad.net/~aramh/juju-core/102-state-watchers-service-relations5/+merge/128577 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : state: update ServiceRelationsWatcher #

Total comments: 9

Patch Set 3 : state: update ServiceRelationsWatcher #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -204 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/service_test.go View 1 2 5 chunks +58 lines, -109 lines 0 comments Download
M state/watcher.go View 1 2 2 chunks +77 lines, -95 lines 0 comments Download

Messages

Total messages: 10
aram
Please take a look.
11 years, 6 months ago (2012-10-08 20:09:23 UTC) #1
fwereade
Aside from uncertainty about the testing, LGTM. https://codereview.appspot.com/6631046/diff/1/state/service_test.go File state/service_test.go (right): https://codereview.appspot.com/6631046/diff/1/state/service_test.go#newcode558 state/service_test.go:558: continue Doesn't ...
11 years, 6 months ago (2012-10-09 07:17:51 UTC) #2
aram
https://codereview.appspot.com/6631046/diff/1/state/service_test.go File state/service_test.go (right): https://codereview.appspot.com/6631046/diff/1/state/service_test.go#newcode558 state/service_test.go:558: continue Good catch, thanks.
11 years, 6 months ago (2012-10-09 10:57:31 UTC) #3
aram
Please take a look.
11 years, 6 months ago (2012-10-09 10:57:43 UTC) #4
niemeyer
LGTM assuming the following comments, that all tests pass, and that William is happy with ...
11 years, 6 months ago (2012-10-09 18:57:39 UTC) #5
niemeyer
LGTM considering the previous review still, plus the following point: https://codereview.appspot.com/6631046/diff/6001/state/watcher.go File state/watcher.go (right): https://codereview.appspot.com/6631046/diff/6001/state/watcher.go#newcode551 ...
11 years, 6 months ago (2012-10-09 21:25:00 UTC) #6
fwereade
LGTM with niemeyer's suggestions https://codereview.appspot.com/6631046/diff/6001/state/watcher.go File state/watcher.go (right): https://codereview.appspot.com/6631046/diff/6001/state/watcher.go#newcode497 state/watcher.go:497: // relation is found to ...
11 years, 6 months ago (2012-10-10 08:12:29 UTC) #7
niemeyer
https://codereview.appspot.com/6631046/diff/6001/state/watcher.go File state/watcher.go (right): https://codereview.appspot.com/6631046/diff/6001/state/watcher.go#newcode497 state/watcher.go:497: // relation is found to be Dead, no further ...
11 years, 6 months ago (2012-10-10 13:08:01 UTC) #8
aram
> if we change this all instances should be changed as well (this is > ...
11 years, 6 months ago (2012-10-10 13:09:00 UTC) #9
aram
11 years, 6 months ago (2012-10-10 15:00:42 UTC) #10
*** Submitted:

state: update ServiceRelationsWatcher

Add lifecycle support to the ServiceRelationsWatcher and make it a new
style watcher that only returns ids.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/6631046
Sign in to reply to this message.

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