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

Issue 13113045: apiserver/uniter: Resolved and GetService added (Closed)

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

Description

apiserver/uniter: Resolved and GetService added Added two missing server-side calls to the uniter API: * Resolved * GetService Fixed some client-side uniter API TODOs to refer to these new methods. https://code.launchpad.net/~dimitern/juju-core/108-api-uniter-unit-ops/+merge/180993 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : apiserver/uniter: Resolved and GetService added #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -15 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/params/constants.go View 1 chunk +10 lines, -0 lines 0 comments Download
M state/api/params/internal.go View 1 chunk +12 lines, -0 lines 0 comments Download
M state/api/uniter/unit.go View 1 5 chunks +15 lines, -15 lines 0 comments Download
M state/apiserver/uniter/uniter.go View 1 chunk +47 lines, -0 lines 0 comments Download
M state/apiserver/uniter/uniter_test.go View 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 3
dimitern
Please take a look.
10 years, 8 months ago (2013-08-20 08:50:37 UTC) #1
rog
LGTM modulo the below. https://codereview.appspot.com/13113045/diff/1/state/api/uniter/unit.go File state/api/uniter/unit.go (right): https://codereview.appspot.com/13113045/diff/1/state/api/uniter/unit.go#newcode92 state/api/uniter/unit.go:92: func (u *Unit) Service() (*Service, ...
10 years, 8 months ago (2013-08-20 09:42:19 UTC) #2
dimitern
10 years, 8 months ago (2013-08-20 09:59:17 UTC) #3
Please take a look.

https://codereview.appspot.com/13113045/diff/1/state/api/uniter/unit.go
File state/api/uniter/unit.go (right):

https://codereview.appspot.com/13113045/diff/1/state/api/uniter/unit.go#newco...
state/api/uniter/unit.go:92: func (u *Unit) Service() (*Service, error) {
On 2013/08/20 09:42:19, rog wrote:
> As fwereade suggested, if this is just making an API call to get the service
> name, it can just do that from the unit name.

Ok, but this comment concerns .ServiceName(), not .Service(), right? Made
changes there.
Sign in to reply to this message.

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