|
Add series to StartInstance, and remove the tools
In order to facilitate some simpler testing, a helper method was added for
StartInstance.
An unknown series for the dummy provider now raises a NotFoundError saying no
tools, as this is the behaviour that is now happening with the ec2 and
openstack providers.
The series is passed through to the private start instance for the providers
where it is used to find tools, and is also passed into the findInstanceSpec.
https://code.launchpad.net/~thumper/juju-core/start-instance-series/+merge/154635
(do not edit description out of merge proposal)
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+76 lines, -83 lines) |
Patch |
 |
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/ssh_test.go
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/status_test.go
|
View
|
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
environs/dummy/environs.go
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
environs/ec2/ec2.go
|
View
|
|
5 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
environs/ec2/live_test.go
|
View
|
|
5 chunks |
+9 lines, -15 lines |
0 comments
|
Download
|
 |
M |
environs/ec2/local_test.go
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
environs/interface.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
environs/jujutest/livetests.go
|
View
|
|
4 chunks |
+12 lines, -32 lines |
0 comments
|
Download
|
 |
M |
environs/jujutest/tests.go
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
environs/openstack/local_test.go
|
View
|
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
environs/openstack/provider.go
|
View
|
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
juju/testing/conn.go
|
View
|
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
worker/firewaller/firewaller_test.go
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
worker/provisioner/provisioner.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5
|