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

Issue 6050053: Implemented the NeedsUpgradeWatcher for Units. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by TheMue
Modified:
12 years ago
Reviewers:
mp+102465
Visibility:
Public.

Description

Implemented the NeedsUpgradeWatcher for Units. It's based on the changed ContentWatcher. Also the tests have been harmonized (better timeout handling). https://code.launchpad.net/~themue/juju/go-state-unit-needs-upgrade-watcher/+merge/102465 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : Implemented the NeedsUpgradeWatcher for Units. #

Total comments: 4

Patch Set 3 : Implemented the NeedsUpgradeWatcher for Units. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -40 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/state.go View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M state/unit.go View 1 2 3 chunks +74 lines, -0 lines 0 comments Download
M state/watch_test.go View 1 2 chunks +83 lines, -38 lines 0 comments Download

Messages

Total messages: 6
TheMue
Please take a look.
12 years ago (2012-04-18 09:12:39 UTC) #1
niemeyer
Looks nice. Here are a few comments to get you going tomorrow, but you'll probably ...
12 years ago (2012-04-18 19:25:34 UTC) #2
TheMue
Please take a look. https://codereview.appspot.com/6050053/diff/1/state/unit.go File state/unit.go (right): https://codereview.appspot.com/6050053/diff/1/state/unit.go#newcode495 state/unit.go:495: // changes may be observed ...
12 years ago (2012-04-19 15:25:20 UTC) #3
niemeyer
LGTM with a couple of trivials. Thanks for bearing with me. https://codereview.appspot.com/6050053/diff/4001/state/state.go File state/state.go (right): ...
12 years ago (2012-04-20 01:18:02 UTC) #4
TheMue
*** Submitted: Implemented the NeedsUpgradeWatcher for Units. It's based on the changed ContentWatcher. Also the ...
12 years ago (2012-04-20 09:51:08 UTC) #5
gustavo.niemeyer
12 years ago (2012-04-23 22:56:39 UTC) #6
https://codereview.appspot.com/6050053/diff/4001/state/state.go
File state/state.go (right):

https://codereview.appspot.com/6050053/diff/4001/state/state.go#newcode296
state/state.go:296: // A nonexistent node is treated as an empty node.
On 2012/04/20 09:51:09, TheMue wrote:
> On 2012/04/20 01:18:02, niemeyer wrote:
> > s/non/non-/
> 
> Done. Funnily had both writings as review hints. Compared via Google, with
dash
> won 22 to 10 mio. *smile*

This tends to be a reasonable source as well:

http://oxforddictionaries.com/definition/non-existent
Sign in to reply to this message.

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