diff --git a/lib/fog/cdn/rackspace.rb b/lib/fog/cdn/rackspace.rb index b9dbc57c8..903c0493f 100644 --- a/lib/fog/cdn/rackspace.rb +++ b/lib/fog/cdn/rackspace.rb @@ -3,7 +3,7 @@ module Fog class CDN < Fog::Service requires :rackspace_api_key, :rackspace_username - recognizes :rackspace_auth_url, :rackspace_servicenet, :persistent + recognizes :rackspace_auth_url, :persistent recognizes :provider # remove post deprecation model_path 'fog/cdn/models/rackspace' @@ -56,11 +56,10 @@ module Fog @auth_token = credentials['X-Auth-Token'] uri = URI.parse(credentials['X-CDN-Management-Url']) - @host = options[:rackspace_servicenet] == true ? "snet-#{uri.host}" : uri.host + @host = uri.host @path = uri.path @port = uri.port @scheme = uri.scheme - Excon.ssl_verify_peer = false if options[:rackspace_servicenet] == true @connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}", options[:persistent]) end