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

Issue 14337043: worker/addressupdater: no poll if Addresses unimpl

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

Description

worker/addressupdater: no poll if Addresses unimpl Fixes https://bugs.launchpad.net/juju-core/+bug/1234534 https://code.launchpad.net/~rogpeppe/juju-core/437-addressupdater-less-polling/+merge/189048 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : worker/addressupdater: no poll if Addresses unimpl #

Patch Set 3 : worker/addressupdater: no poll if Addresses unimpl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -6 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M container/lxc/instance.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M errors/errors.go View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M errors/errors_test.go View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M provider/local/instance.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M worker/addressupdater/machine_test.go View 1 2 4 chunks +30 lines, -2 lines 0 comments Download
M worker/addressupdater/updater.go View 1 2 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 5
rog
Please take a look.
10 years, 7 months ago (2013-10-03 11:20:48 UTC) #1
dimitern
Looks good, but I don't get the logic around pollInterval being 1y. https://codereview.appspot.com/14337043/diff/1/errors/errors.go File errors/errors.go ...
10 years, 7 months ago (2013-10-03 11:22:07 UTC) #2
fwereade
Assuming it's too icky to abort the machine loops when we see Unimplemented, LGTM. But ...
10 years, 7 months ago (2013-10-03 13:09:09 UTC) #3
rog
Please take a look.
10 years, 7 months ago (2013-10-03 13:30:21 UTC) #4
rog
10 years, 7 months ago (2013-10-03 13:31:38 UTC) #5
https://codereview.appspot.com/14337043/diff/1/errors/errors.go
File errors/errors.go (right):

https://codereview.appspot.com/14337043/diff/1/errors/errors.go#newcode89
errors/errors.go:89: type unimplementedError struct {
On 2013/10/03 11:22:07, dimitern wrote:
> I'd prefer to name it notImplementedError, and have a NewNotImplementedError
> respectively.

Done.
Sign in to reply to this message.

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