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

Issue 62390043: Fix the juju-run on machines with no units.

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

Description

Fix the juju-run on machines with no units. This branch also adds an upgrade step to make sure that existing environments also get the goodness. https://code.launchpad.net/~thumper/juju-core/juju-run-on-machine-with-no-units/+merge/206050 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix the juju-run on machines with no units. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -7 lines) Patch
[revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
environs/cloudinit/cloudinit.go View 1 chunk +9 lines, -1 line 0 comments Download
environs/cloudinit/cloudinit_test.go View 2 chunks +4 lines, -2 lines 0 comments Download
upgrades/export_test.go View 1 1 chunk +7 lines, -1 line 0 comments Download
upgrades/steps118.go View 1 1 chunk +44 lines, -2 lines 0 comments Download
upgrades/steps118_test.go View 1 1 chunk +117 lines, -0 lines 0 comments Download
upgrades/upgrade.go View 1 6 chunks +36 lines, -1 line 0 comments Download
upgrades/upgrade_test.go View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 3
thumper
Please take a look.
10 years, 2 months ago (2014-02-12 21:02:00 UTC) #1
thumper
Please take a look.
10 years, 2 months ago (2014-02-13 03:39:57 UTC) #2
wallyworld
10 years, 2 months ago (2014-02-13 03:48:25 UTC) #3
LGTM. We need one more test to ensure the upgrade operation is registered
correctly but I'll add that in my next lot of work as I have to do it anyway.

https://codereview.appspot.com/62390043/diff/1/environs/cloudinit/cloudinit.go
File environs/cloudinit/cloudinit.go (right):

https://codereview.appspot.com/62390043/diff/1/environs/cloudinit/cloudinit.g...
environs/cloudinit/cloudinit.go:282: 
part of me wishes that "locks" were a const somewhere
Sign in to reply to this message.

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