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

Issue 7331053: state: add service constraints

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by fwereade
Modified:
11 years, 1 month ago
Reviewers:
TheMue, jameinel, mp+148944, rog
Visibility:
Public.

Description

state: add service constraints https://code.launchpad.net/~fwereade/juju-core/state-service-constraints/+merge/148944 Requires: https://code.launchpad.net/~fwereade/juju-core/state-environ-constraints/+merge/148942 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : state: add service constraints #

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

Messages

Total messages: 5
fwereade
Please take a look.
11 years, 2 months ago (2013-02-17 15:44:43 UTC) #1
jameinel
LGTM https://codereview.appspot.com/7331053/diff/1/state/service.go File state/service.go (right): https://codereview.appspot.com/7331053/diff/1/state/service.go#newcode478 state/service.go:478: return readConstraints(s.st, s.globalKey()) I don't quite understand where ...
11 years, 1 month ago (2013-02-20 05:35:35 UTC) #2
TheMue
LGTM https://codereview.appspot.com/7331053/diff/1/state/service.go File state/service.go (right): https://codereview.appspot.com/7331053/diff/1/state/service.go#newcode478 state/service.go:478: return readConstraints(s.st, s.globalKey()) On 2013/02/20 05:35:35, jameinel wrote: ...
11 years, 1 month ago (2013-02-20 13:00:06 UTC) #3
rog
On 2013/02/20 13:00:06, TheMue wrote: > LGTM > > https://codereview.appspot.com/7331053/diff/1/state/service.go > File state/service.go (right): > ...
11 years, 1 month ago (2013-02-20 13:13:43 UTC) #4
fwereade
11 years, 1 month ago (2013-02-20 13:29:03 UTC) #5
*** Submitted:

state: add service constraints

R=jameinel, TheMue, rog
CC=
https://codereview.appspot.com/7331053

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

https://codereview.appspot.com/7331053/diff/1/state/service.go#newcode478
state/service.go:478: return readConstraints(s.st, s.globalKey())
On 2013/02/20 05:35:35, jameinel wrote:
> I don't quite understand where read and writeConstraints are coming from, but
as
> long as they are around, these seem fine.

They're in state/constraints.go; added in the prereq.
Sign in to reply to this message.

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