lib/cloudstack-cli/commands/volume.rb in cloudstack-cli-0.0.1 vs lib/cloudstack-cli/commands/volume.rb in cloudstack-cli-0.0.2

- old
+ new

@@ -1,9 +1,9 @@ class Volume < Thor desc "list", "list networks" option :project def list - cs_cli = CloudstackCli::Helper.new + cs_cli = CloudstackCli::Helper.new(options[:config]) if options[:project] project = cs_cli.projects.select { |p| p['name'] == options[:project] }.first raise "Project '#{options[:project]}' not found" unless project end \ No newline at end of file