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

Issue 6546055: state: allow watching non-existent node

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

Description

state: allow watching non-existent node https://code.launchpad.net/~aramh/juju-core/91-state-watchers-confignodes-nonexistent/+merge/125776 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/watcher.go View 1 chunk +4 lines, -3 lines 2 comments Download

Messages

Total messages: 2
aram
Please take a look.
11 years, 7 months ago (2012-09-21 17:20:03 UTC) #1
niemeyer
11 years, 7 months ago (2012-09-21 17:23:01 UTC) #2
https://codereview.appspot.com/6546055/diff/1/state/watcher.go
File state/watcher.go (right):

https://codereview.appspot.com/6546055/diff/1/state/watcher.go#newcode1004
state/watcher.go:1004: var revno int64 = -1
Test case?

https://codereview.appspot.com/6546055/diff/1/state/watcher.go#newcode1006
state/watcher.go:1006: if err == nil {
And if it's not?
Sign in to reply to this message.

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