lib/cloudstack-cli/option_resolver.rb in cloudstack-cli-1.0.1 vs lib/cloudstack-cli/option_resolver.rb in cloudstack-cli-1.0.2
- old
+ new
@@ -101,10 +101,10 @@
if options[:iso]
unless iso = client.list_isos(
name: options[:iso],
project_id: options[:project_id]
).first
- say "Error: Iso '#{args[:iso]}' is invalid.", :red
+ say "Error: Iso '#{options[:iso]}' is invalid.", :red
exit 1
end
unless options[:diskoffering_id]
say "Error: a disk offering is required when using iso.", :red
exit 1