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

Issue 7001050: cmd/juju: deploy checks params in Init

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by fwereade
Modified:
11 years, 3 months ago
Reviewers:
dimitern, mp+141159, jameinel
Visibility:
Public.

Description

cmd/juju: deploy checks params in Init ...thereby rejecting obviously-crazy charm or service specifiers before connecting to state. Fixes lp:1090172. https://code.launchpad.net/~fwereade/juju-core/deploy-check-names-early/+merge/141159 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : cmd/juju: deploy checks params in Init #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/deploy.go View 1 4 chunks +9 lines, -1 line 0 comments Download
M cmd/juju/deploy_test.go View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 7
fwereade
Please take a look.
11 years, 4 months ago (2012-12-22 19:25:04 UTC) #1
dimitern
LGTM, with some questions. https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go#newcode83 cmd/juju/deploy.go:83: // Reviewers, start your opinions. ...
11 years, 3 months ago (2013-01-03 22:09:05 UTC) #2
fwereade
https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go#newcode83 cmd/juju/deploy.go:83: // Reviewers, start your opinions. On 2013/01/03 22:09:05, dimitern ...
11 years, 3 months ago (2013-01-04 08:25:49 UTC) #3
dimitern
On 2013/01/04 08:25:49, fwereade wrote: > https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go > File cmd/juju/deploy.go (right): > > https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go#newcode83 > ...
11 years, 3 months ago (2013-01-04 09:15:19 UTC) #4
jameinel
LGTM
11 years, 3 months ago (2013-01-06 10:15:53 UTC) #5
rog
looks good, modulo the below. https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/7001050/diff/1/cmd/juju/deploy.go#newcode81 cmd/juju/deploy.go:81: if c.NumUnits < 1 ...
11 years, 3 months ago (2013-01-07 08:48:01 UTC) #6
fwereade
11 years, 3 months ago (2013-01-07 08:48:04 UTC) #7
*** Submitted:

cmd/juju: deploy checks params in Init

...thereby rejecting obviously-crazy charm or service specifiers before
connecting to state. Fixes lp:1090172.

R=dimitern, jameinel
CC=
https://codereview.appspot.com/7001050
Sign in to reply to this message.

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