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

Issue 6745052: state: add Service.Endpoints

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by fwereade
Modified:
11 years, 6 months ago
Reviewers:
mp+130768
Visibility:
Public.

Description

state: add Service.Endpoints ...and Service.Endpoint https://code.launchpad.net/~fwereade/juju-core/state-service-endpoints/+merge/130768 Requires: https://code.launchpad.net/~fwereade/juju-core/state-relation-endpoint/+merge/130594 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : state: add Service.Endpoints #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -0 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M state/service.go View 1 1 chunk +44 lines, -0 lines 0 comments Download
M state/service_test.go View 1 2 chunks +101 lines, -0 lines 0 comments Download

Messages

Total messages: 3
fwereade
Please take a look.
11 years, 7 months ago (2012-10-22 10:43:57 UTC) #1
niemeyer
LGTM https://codereview.appspot.com/6745052/diff/1/state/service.go File state/service.go (right): https://codereview.appspot.com/6745052/diff/1/state/service.go#newcode171 state/service.go:171: func (s *Service) Endpoints(seek string) (eps []Endpoint, err ...
11 years, 6 months ago (2012-10-25 10:49:48 UTC) #2
fwereade
11 years, 6 months ago (2012-10-25 14:53:52 UTC) #3
*** Submitted:

state: add Service.Endpoints

...and Service.Endpoint

R=niemeyer
CC=
https://codereview.appspot.com/6745052

https://codereview.appspot.com/6745052/diff/1/state/service.go
File state/service.go (right):

https://codereview.appspot.com/6745052/diff/1/state/service.go#newcode171
state/service.go:171: func (s *Service) Endpoints(seek string) (eps []Endpoint,
err error) {
On 2012/10/25 10:49:48, niemeyer wrote:
> As discussed:
> 
> func (s *Service) Endpoint(relationName string) (Endpoint, error) {
> func (s *Service) Endpoints() ([]Endpoint, error) {

Done.
Sign in to reply to this message.

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