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

Issue 10384049: Remove Metadata() method from Instance interface (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by wallyworld
Modified:
12 years ago
Reviewers:
mp+170483, dave, fwereade, thumper
Visibility:
Public.

Description

Remove Metadata() method from Instance interface The machine metadata is not aways available, and is only used when startInstance is called. So have startInstance return the metadata separately along with the instance. https://code.launchpad.net/~wallyworld/juju-core/tweak-instance-metadata-api/+merge/170483 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Remove Metadata() method from Instance interface #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -105 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/ssh_test.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/status_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M environs/azure/environ.go View 1 chunk +2 lines, -1 line 1 comment Download
M environs/azure/instance.go View 1 chunk +0 lines, -5 lines 0 comments Download
M environs/dummy/environs.go View 4 chunks +22 lines, -26 lines 0 comments Download
M environs/ec2/ec2.go View 6 chunks +16 lines, -14 lines 2 comments Download
M environs/ec2/live_test.go View 4 chunks +15 lines, -6 lines 0 comments Download
M environs/ec2/local_test.go View 2 chunks +6 lines, -3 lines 0 comments Download
M environs/interface.go View 1 chunk +2 lines, -1 line 0 comments Download
M environs/jujutest/livetests.go View 5 chunks +7 lines, -7 lines 0 comments Download
M environs/jujutest/tests.go View 1 chunk +2 lines, -3 lines 0 comments Download
M environs/maas/environ.go View 1 chunk +6 lines, -3 lines 2 comments Download
M environs/maas/environ_test.go View 2 chunks +3 lines, -2 lines 0 comments Download
M environs/openstack/local_test.go View 4 chunks +5 lines, -6 lines 0 comments Download
M environs/openstack/provider.go View 7 chunks +17 lines, -15 lines 0 comments Download
M instance/instance.go View 1 chunk +0 lines, -3 lines 0 comments Download
M juju/testing/conn.go View 2 chunks +4 lines, -4 lines 0 comments Download
M worker/firewaller/firewaller_test.go View 1 chunk +1 line, -1 line 0 comments Download
M worker/provisioner/broker.go View 1 chunk +2 lines, -1 line 0 comments Download
M worker/provisioner/provisioner_task.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
wallyworld
Please take a look.
12 years ago (2013-06-20 04:32:57 UTC) #1
wallyworld
Please take a look.
12 years ago (2013-06-20 07:56:20 UTC) #2
fwereade
LGTM. We'll see how long we can put off the no-bootstrap-metadata issue, I don't think ...
12 years ago (2013-06-21 10:42:13 UTC) #3
thumper
On 2013/06/21 10:42:13, fwereade wrote: > LGTM. We'll see how long we can put off ...
12 years ago (2013-06-24 01:48:05 UTC) #4
wallyworld
https://codereview.appspot.com/10384049/diff/9001/environs/ec2/ec2.go File environs/ec2/ec2.go (right): https://codereview.appspot.com/10384049/diff/9001/environs/ec2/ec2.go#newcode281 environs/ec2/ec2.go:281: // TODO(wallyworld) - save bootstrap machine metadata On 2013/06/21 ...
12 years ago (2013-06-24 05:31:42 UTC) #5
dave_cheney.net
12 years ago (2013-06-24 06:44:31 UTC) #6
LGTM, very nice, i like where this is going.

https://codereview.appspot.com/10384049/diff/9001/environs/azure/environ.go
File environs/azure/environ.go (right):

https://codereview.appspot.com/10384049/diff/9001/environs/azure/environ.go#n...
environs/azure/environ.go:78: panic("unimplemented")
not nil, nil, errors.New("not implemented") ?
Sign in to reply to this message.

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