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

Issue 7375059: environs: drop InstanceIdAccessor hack

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by fwereade
Modified:
11 years, 2 months ago
Reviewers:
mp+150796, dimitern, rog
Visibility:
Public.

Description

environs: drop InstanceIdAccessor hack ...and also ProviderType, which is already accessible in the environ config. https://code.launchpad.net/~fwereade/juju-core/drop-instance-id-accessor/+merge/150796 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : environs: drop InstanceIdAccessor hack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -155 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/bootstrap.go View 4 chunks +15 lines, -9 lines 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 5 chunks +2 lines, -31 lines 0 comments Download
M cmd/jujud/main_test.go View 1 chunk +0 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit.go View 4 chunks +0 lines, -14 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 5 chunks +18 lines, -29 lines 0 comments Download
M environs/dummy/environs.go View 1 chunk +4 lines, -0 lines 0 comments Download
M environs/ec2/ec2.go View 2 chunks +18 lines, -15 lines 0 comments Download
M environs/ec2/local_test.go View 5 chunks +24 lines, -12 lines 0 comments Download
A environs/ec2/testdata/2011-01-01/meta-data/instance-id View 1 chunk +1 line, -0 lines 0 comments Download
M environs/interface.go View 1 chunk +3 lines, -0 lines 0 comments Download
M environs/openstack/local_test.go View 1 chunk +24 lines, -0 lines 0 comments Download
M environs/openstack/provider.go View 4 chunks +75 lines, -44 lines 0 comments Download
A environs/openstack/testdata/2012-08-10/meta-data.json View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4
fwereade
Please take a look.
11 years, 2 months ago (2013-02-27 13:41:41 UTC) #1
rog
LGTM assuming it works live under ec2 and openstack. https://codereview.appspot.com/7375059/diff/1/cmd/jujud/bootstrap.go File cmd/jujud/bootstrap.go (right): https://codereview.appspot.com/7375059/diff/1/cmd/jujud/bootstrap.go#newcode67 cmd/jujud/bootstrap.go:67: ...
11 years, 2 months ago (2013-02-27 14:09:06 UTC) #2
dimitern
Great! Thanks for that - so much redundant stuff will be gone! LGTM indeed. https://codereview.appspot.com/7375059/diff/1/environs/openstack/provider.go ...
11 years, 2 months ago (2013-02-27 14:13:32 UTC) #3
fwereade
11 years, 2 months ago (2013-03-01 09:19:29 UTC) #4
*** Submitted:

environs: drop InstanceIdAccessor hack

...and also ProviderType, which is already accessible in the environ config.

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

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