1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[vcloud|compute] now referencing catalog_item_uri from options

This commit is contained in:
Kunal Parikh 2011-06-09 14:58:57 +10:00 committed by Lincoln Stoll
parent 5c4ba174e9
commit 872b9def38

View file

@ -10,6 +10,8 @@ module Fog
unless valid_opts.all? { |opt| options.keys.include?(opt) }
raise ArgumentError.new("Required data missing: #{(valid_opts - options.keys).map(&:inspect).join(", ")}")
end
catalog_item_uri = options[:catalog_item_uri]
# Figure out the template_uri
catalog_item = get_catalog_item( catalog_item_uri ).body