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

Issue 34730043: cmd/juju/constraints.go: restore 1.16 compat

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by jameinel
Modified:
10 years, 5 months ago
Reviewers:
axw, mp+197052
Visibility:
Public.

Description

cmd/juju/constraints.go: restore 1.16 compat part of bug #1253633 Restore the ability to set/get environment constraints against a 1.16 server when Client.GetEnvironmentConstraints and Client.SetEnvironmentConstraints were not implemented. Same as the other implementations, try the API, if it fails fall back to the old DB code. We don't have to fallback for the entire logic, because only the Environment APIs weren't avaliable. https://code.launchpad.net/~jameinel/juju-core/1.17-set-get-constraints-compat-1253633/+merge/197052 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/constraints.go View 5 chunks +43 lines, -1 line 0 comments Download

Messages

Total messages: 2
jameinel
Please take a look.
10 years, 5 months ago (2013-11-28 12:28:50 UTC) #1
axw
10 years, 5 months ago (2013-11-29 00:57:13 UTC) #2
On 2013/11/28 12:28:50, jameinel wrote:
> Please take a look.

LGTM
Sign in to reply to this message.

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