lib/cloudstack-cli/base.rb in cloudstack-cli-0.3.7 vs lib/cloudstack-cli/base.rb in cloudstack-cli-0.3.8
- old
+ new
@@ -24,10 +24,10 @@
@config ||= load_configuration
@client ||= CloudstackClient::Connection.new(
@config[:url],
@config[:api_key],
@config[:secret_key],
- opts
+ opts.merge({debug: options[:debug]})
)
end
def load_configuration(config_file = options[:config], env = options[:environment])
unless File.exists?(config_file)
\ No newline at end of file