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

Issue 87540043: state: Use APIHostPorts to implement APIAddresses

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by gz
Modified:
10 years ago
Reviewers:
mp+215643, rog
Visibility:
Public.

Description

state: Use APIHostPorts to implement APIAddresses Updates APIAddresses call to get addresses directly from state, rather than via looking up which machines are state servers then returning the addresses of those machines. Various tests have been updated to work with this change. https://code.launchpad.net/~gz/juju-core/apiaddresses_use_hostport/+merge/215643 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: Use APIHostPorts to implement APIAddresses #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -17 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M juju/testing/utils.go View 1 1 chunk +8 lines, -0 lines 0 comments Download
M state/api/testing/apiaddresser.go View 1 chunk +7 lines, -2 lines 0 comments Download
M state/apiserver/common/addresses.go View 1 chunk +9 lines, -3 lines 0 comments Download
M state/apiserver/common/addresses_test.go View 2 chunks +8 lines, -2 lines 0 comments Download
M state/apiserver/deployer/deployer_test.go View 1 chunk +6 lines, -4 lines 0 comments Download
M state/apiserver/provisioner/provisioner_test.go View 1 chunk +7 lines, -2 lines 0 comments Download
M state/apiserver/uniter/uniter_test.go View 1 chunk +7 lines, -4 lines 0 comments Download
M worker/provisioner/kvm-broker_test.go View 1 1 chunk +8 lines, -0 lines 0 comments Download
M worker/provisioner/lxc-broker_test.go View 1 1 chunk +9 lines, -0 lines 1 comment Download

Messages

Total messages: 4
gz
Please take a look.
10 years ago (2014-04-14 11:41:17 UTC) #1
rog
On 2014/04/14 11:41:17, gz wrote: > Please take a look. LGTM assuming it works live.
10 years ago (2014-04-14 11:43:30 UTC) #2
gz
Please take a look.
10 years ago (2014-04-15 16:08:44 UTC) #3
rog
10 years ago (2014-04-15 16:16:40 UTC) #4
https://codereview.appspot.com/87540043/diff/20001/worker/provisioner/lxc-bro...
File worker/provisioner/lxc-broker_test.go (right):

https://codereview.appspot.com/87540043/diff/20001/worker/provisioner/lxc-bro...
worker/provisioner/lxc-broker_test.go:205: c.Assert(err, gc.IsNil)
d
Sign in to reply to this message.

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