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

Issue 56020043: cmd/juju/destroyenvironment: allow -e flag

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 3 months ago by jameinel
Modified:
10 years, 3 months ago
Reviewers:
mp+202838, fwereade, rog
Visibility:
Public.

Description

cmd/juju/destroyenvironment: allow -e flag We still require the user to name the environment (we don't allow it to come from the default environment name). However, this gives a syntax that will work in both 1.16 and 1.18 (juju destroy-environment -e ENV). https://code.launchpad.net/~jameinel/juju-core/destroy-environment-e-1248329/+merge/202838 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : cmd/juju/destroyenvironment: allow -e flag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -8 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/destroyenvironment.go View 1 3 chunks +24 lines, -8 lines 0 comments Download
M cmd/juju/destroyenvironment_test.go View 1 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 8
jameinel
Please take a look.
10 years, 3 months ago (2014-01-23 11:55:35 UTC) #1
rog
A couple of thoughts: https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go File cmd/juju/destroyenvironment.go (right): https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go#newcode46 cmd/juju/destroyenvironment.go:46: We should have "environment" too, ...
10 years, 3 months ago (2014-01-23 18:39:07 UTC) #2
fwereade
LGTM https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go File cmd/juju/destroyenvironment.go (right): https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go#newcode46 cmd/juju/destroyenvironment.go:46: On 2014/01/23 18:39:08, rog wrote: > We should ...
10 years, 3 months ago (2014-01-24 15:00:09 UTC) #3
rog
https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go File cmd/juju/destroyenvironment.go (right): https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go#newcode99 cmd/juju/destroyenvironment.go:99: On 2014/01/24 15:00:09, fwereade wrote: > On 2014/01/23 18:39:08, ...
10 years, 3 months ago (2014-01-24 15:59:57 UTC) #4
fwereade
On 2014/01/24 15:59:57, rog wrote: > Other than the clutter, it also constrains future compatibility-maintaining ...
10 years, 3 months ago (2014-01-24 19:10:21 UTC) #5
fwereade
https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go File cmd/juju/destroyenvironment.go (right): https://codereview.appspot.com/56020043/diff/1/cmd/juju/destroyenvironment.go#newcode91 cmd/juju/destroyenvironment.go:91: hey, should we not do a deprecation warning here? ...
10 years, 3 months ago (2014-01-24 19:10:27 UTC) #6
jameinel
Please take a look.
10 years, 3 months ago (2014-01-28 11:27:56 UTC) #7
fwereade
10 years, 3 months ago (2014-01-28 11:31:09 UTC) #8
LGTM, thanks
Sign in to reply to this message.

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