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

Issue 34750043: cmd/juju/environ.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+197059
Visibility:
Public.

Description

cmd/juju/environ.go: restore 1.16 compat bug #1253625 is about "juju get-environment" and "juju set-environment" not being compatible with a 1.16 API server because Client.EnvironmentGet and Client.EnvironmentSet were not available. So we fall back to direct DB access. This replaces 'all' of SetEnvironment.Run because it has virtually no other local logic. For GetEnvironment.Run we only replace the EnvironmentGet step. (hence the different names for the functions.) https://code.launchpad.net/~jameinel/juju-core/1.17-set-get-environment-compat-1253625/+merge/197059 (do not edit description out of merge proposal)

Patch Set 1 #

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

Messages

Total messages: 2
jameinel
Please take a look.
10 years, 5 months ago (2013-11-28 12:53:09 UTC) #1
axw
10 years, 5 months ago (2013-11-29 01:00:18 UTC) #2
On 2013/11/28 12:53:09, 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