lib/cloudstack-cli/commands/zone.rb in cloudstack-cli-0.0.1 vs lib/cloudstack-cli/commands/zone.rb in cloudstack-cli-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
class Zone < Thor
desc "list", "list zones"
def list
- cs_cli = CloudstackCli::Helper.new
+ cs_cli = CloudstackCli::Helper.new(options[:config])
zones = cs_cli.zones
if zones.size < 1
puts "No projects found"
else
zones.each do |zone|
\ No newline at end of file