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

Issue 76950043: state: implement SetAPIAddresses

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by rog
Modified:
11 years, 3 months ago
Reviewers:
mp+211356, natefinch
Visibility:
Public.

Description

state: implement SetAPIAddresses We need this so that agents can watch a single document to see when API addresses change. As with the stateServers document, we create it at Open time if it doesn't already exist. Also fix some existing issues with InitializeSuite - it shouldn't really call Open before Initialize, even though that's something that Initialize does internally. Also fix one bug - Initialize was creating the stateServers document with the wrong key (blank). Luckily the impact of the bug is small because Open will have already created the document. https://code.launchpad.net/~rogpeppe/juju-core/517-state-set-api-addresses-2/+merge/211356 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: implement SetAPIAddresses #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -11 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/address.go View 2 chunks +36 lines, -0 lines 0 comments Download
M state/initialize_test.go View 8 chunks +18 lines, -10 lines 0 comments Download
M state/open.go View 3 chunks +23 lines, -1 line 0 comments Download
M state/state_test.go View 2 chunks +58 lines, -0 lines 0 comments Download

Messages

Total messages: 2
rog
Please take a look.
11 years, 3 months ago (2014-03-17 16:26:57 UTC) #1
natefinch
11 years, 3 months ago (2014-03-17 16:51:37 UTC) #2
On 2014/03/17 16:26:57, rog wrote:
> Please take a look.

LGTM
Sign in to reply to this message.

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