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

Issue 14494054: Don't pass through empty constraints

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

Description

Don't pass through empty constraints If there are no constraints to pass through, cloud init has --constraints '' It seems that somewhere in the process, the empty param is getting missed and the following --debug param is getting parsed as a constraint value. The test is horrible, and all we really care about is the jujud bootstrap-state line. https://code.launchpad.net/~thumper/juju-core/bootstrap-state-no-constraints/+merge/190851 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Don't pass through empty constraints #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -1 line) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 1 1 chunk +5 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 1 chunk +69 lines, -0 lines 1 comment Download

Messages

Total messages: 3
thumper
Please take a look.
10 years, 6 months ago (2013-10-14 03:05:21 UTC) #1
thumper
Please take a look.
10 years, 6 months ago (2013-10-14 03:17:41 UTC) #2
axw
10 years, 6 months ago (2013-10-14 03:26:25 UTC) #3
LGTM. Should log a couple of bugs: one to investigate why the quotes are lost,
and one one to fix the testing situation.

https://codereview.appspot.com/14494054/diff/4001/environs/cloudinit/cloudini...
File environs/cloudinit/cloudinit_test.go (right):

https://codereview.appspot.com/14494054/diff/4001/environs/cloudinit/cloudini...
environs/cloudinit/cloudinit_test.go:123: // NOTE: this is terrible, only want
to test part of the results...
Indeed :(
Sign in to reply to this message.

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