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

Issue 81850043: api/agent: StateServingInfo API

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by mfoord
Modified:
10 years, 1 month ago
Reviewers:
mp+213125, rog
Visibility:
Public.

Description

api/agent: StateServingInfo API API for new state servers to fetch state serving info. https://code.launchpad.net/~mfoord/juju-core/stateservinginfo-api/+merge/213125 (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 (+47 lines, -0 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/agent/machine_test.go View 1 chunk +28 lines, -0 lines 1 comment Download
M state/api/agent/state.go View 1 chunk +9 lines, -0 lines 1 comment Download
M state/apiserver/agent/agent.go View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 2
mfoord
Please take a look.
10 years, 1 month ago (2014-03-28 11:32:20 UTC) #1
rog
10 years, 1 month ago (2014-03-28 11:36:15 UTC) #2
LGTM

https://codereview.appspot.com/81850043/diff/1/state/api/agent/machine_test.go
File state/api/agent/machine_test.go (right):

https://codereview.appspot.com/81850043/diff/1/state/api/agent/machine_test.g...
state/api/agent/machine_test.go:37: var _ = gc.Suite(&servingInfoSuite{})
i'd declare the suite and its methods contiguously, rather than intermingling.

https://codereview.appspot.com/81850043/diff/1/state/api/agent/state.go
File state/api/agent/state.go (right):

https://codereview.appspot.com/81850043/diff/1/state/api/agent/state.go#newco...
state/api/agent/state.go:46: if err != nil {
this if statement is redundant.
Sign in to reply to this message.

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