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

Unified Diff: provider/ec2/ec2.go

Issue 14523052: support asking for ec2 instance types by name
Patch Set: Created 11 years, 6 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 | « provider/dummy/environs.go ('k') | provider/ec2/instancetype.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: provider/ec2/ec2.go
=== modified file 'provider/ec2/ec2.go'
--- provider/ec2/ec2.go 2013-10-03 15:00:44 +0000
+++ provider/ec2/ec2.go 2013-10-09 23:47:05 +0000
@@ -94,6 +94,7 @@
hc.RootDisk = &inst.instType.RootDisk
hc.CpuCores = &inst.instType.CpuCores
hc.CpuPower = inst.instType.CpuPower
+ hc.Type = &inst.instType.Name
// Tags currently not supported by EC2
}
return hc
« no previous file with comments | « provider/dummy/environs.go ('k') | provider/ec2/instancetype.go » ('j') | no next file with comments »

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