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

Unified Diff: environs/ec2/ec2.go

Issue 6868070: environs/ec2: use default-series on Bootstrap
Patch Set: environs/ec2: use default-series on Bootstrap Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | environs/jujutest/livetests.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/ec2/ec2.go
=== modified file 'environs/ec2/ec2.go'
--- environs/ec2/ec2.go 2012-11-30 19:08:59 +0000
+++ environs/ec2/ec2.go 2012-12-05 13:53:23 +0000
@@ -238,7 +238,9 @@
}
} else {
flags := environs.HighestVersion | environs.CompatVersion
- tools, err = environs.FindTools(e, version.Current, flags)
+ v := version.Current
+ v.Series = e.Config().DefaultSeries()
+ tools, err = environs.FindTools(e, v, flags)
if err != nil {
return fmt.Errorf("cannot find tools: %v", err)
}
« no previous file with comments | « [revision details] ('k') | environs/jujutest/livetests.go » ('j') | no next file with comments »

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