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

Issue 13552046: worker: Use WatchForEnvironConfigChanges() (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by dimitern
Modified:
11 years, 6 months ago
Reviewers:
mue, mp+186306, rog
Visibility:
Public.

Description

worker: Use WatchForEnvironConfigChanges() This is a prerequisite step to implementing the rest of the provisioner API. It changes the two workers that use an EnvironConfigWatcher (currently only the provisioner and firewaller) to use a NotifyWatcher, returned by WatchForEnvironChanges(), and getting the actual environment configuration when a change is detected. As a drive-by fix, a weird test helper in the provisioner tests was fixed to invalidate an environment configuration in a more obvious way. https://code.launchpad.net/~dimitern/juju-core/140-provisioner-watchforenvironconfigchanges/+merge/186306 Requires: https://code.launchpad.net/~dimitern/juju-core/139-apiserver-provisioner/+merge/186019 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -30 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M worker/environ.go View 1 chunk +6 lines, -2 lines 0 comments Download
M worker/firewaller/firewaller.go View 4 chunks +9 lines, -5 lines 0 comments Download
M worker/provisioner/provisioner.go View 2 chunks +9 lines, -4 lines 0 comments Download
M worker/provisioner/provisioner_test.go View 6 chunks +12 lines, -19 lines 0 comments Download

Messages

Total messages: 3
dimitern
Please take a look.
11 years, 6 months ago (2013-09-18 12:39:32 UTC) #1
mue
LGTM
11 years, 6 months ago (2013-09-18 12:44:38 UTC) #2
rog
11 years, 6 months ago (2013-09-18 12:48:03 UTC) #3
Message was sent while issue was closed.
On 2013/09/18 12:44:38, mue wrote:
> LGTM

LGTM too
Sign in to reply to this message.

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