lib/smartdc/cli.rb in smartdc-2.0.1 vs lib/smartdc/cli.rb in smartdc-2.0.2
- old
+ new
@@ -49,9 +49,10 @@
config.url = "https://#{sdccfg[:hostname]}" if sdccfg.key?(:hostname)
config.version = sdccfg[:version] if sdccfg.key?(:version)
config.username = sdccfg[:username] if sdccfg.key?(:username)
config.use_key = sdccfg[:use_key] if sdccfg.key?(:use_key)
config.rsa_path = sdccfg[:rsa_path] if sdccfg.key?(:rsa_path)
+ config.ssl_verify = sdccfg[:ssl_verify].to_s =~ /false|0/ ? false : true
config.middleware = Faraday::RackBuilder.new do |builder|
builder.adapter Faraday.default_adapter
#builder.use CassetteRack::Response::RaiseError
#builder.response :logger
end