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

Issue 6524044: mstate: add service units watcher

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

Description

mstate: add service units watcher https://code.launchpad.net/~aramh/juju-core/75-mstate-watchers-units-nwo/+merge/124867 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : mstate: add service units watcher #

Total comments: 1

Patch Set 3 : mstate: add service units watcher #

Patch Set 4 : mstate: add service units watcher #

Total comments: 1

Patch Set 5 : mstate: add service units watcher #

Unified diffs Side-by-side diffs Delta from patch set Stats (+347 lines, -0 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M mstate/service_test.go View 2 chunks +202 lines, -0 lines 0 comments Download
M mstate/watcher.go View 1 2 3 4 3 chunks +143 lines, -0 lines 0 comments Download

Messages

Total messages: 9
aram
Please take a look.
11 years, 7 months ago (2012-09-18 09:36:19 UTC) #1
niemeyer
https://codereview.appspot.com/6524044/diff/1/mstate/watcher.go File mstate/watcher.go (right): https://codereview.appspot.com/6524044/diff/1/mstate/watcher.go#newcode408 mstate/watcher.go:408: func (w *ServiceUnitsWatcher) mergeChange(changes *ServiceUnitsChange, ch watcher.Change) (err error) ...
11 years, 7 months ago (2012-09-18 10:24:14 UTC) #2
aram
https://codereview.appspot.com/6524044/diff/1/mstate/watcher.go File mstate/watcher.go (right): https://codereview.appspot.com/6524044/diff/1/mstate/watcher.go#newcode408 mstate/watcher.go:408: func (w *ServiceUnitsWatcher) mergeChange(changes *ServiceUnitsChange, ch watcher.Change) (err error) ...
11 years, 7 months ago (2012-09-18 15:00:49 UTC) #3
aram
Please take a look.
11 years, 7 months ago (2012-09-18 15:07:24 UTC) #4
niemeyer
https://codereview.appspot.com/6524044/diff/5001/mstate/watcher.go File mstate/watcher.go (right): https://codereview.appspot.com/6524044/diff/5001/mstate/watcher.go#newcode413 mstate/watcher.go:413: if name[:len(w.service.doc.Name)] != w.service.doc.Name { What if name is ...
11 years, 7 months ago (2012-09-18 15:17:28 UTC) #5
aram
Please take a look.
11 years, 7 months ago (2012-09-18 15:25:44 UTC) #6
aram
Please take a look.
11 years, 7 months ago (2012-09-18 15:38:49 UTC) #7
niemeyer
LGTM given the previous suggestion is applied: https://codereview.appspot.com/6524044/diff/8003/mstate/watcher.go File mstate/watcher.go (right): https://codereview.appspot.com/6524044/diff/8003/mstate/watcher.go#newcode411 mstate/watcher.go:411: if !strings.HasPrefix(name, ...
11 years, 7 months ago (2012-09-18 15:43:08 UTC) #8
aram
11 years, 7 months ago (2012-09-18 15:47:03 UTC) #9
*** Submitted:

mstate: add service units watcher

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

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