1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Make sure no requests are ever sent to the wrong endpoint by default.

This commit is contained in:
Matt Sanders 2011-06-25 14:33:37 -05:00
parent 71c42f80e5
commit cbfebed953

View file

@ -12,7 +12,7 @@ module Fog
def self.authenticate(options)
scheme = options[:scheme] || "http://"
#hp_auth_url = options[:hp_auth_url] || "auth.api.rackspacecloud.com"
@hp_host = options[:hp_host] || "auth.api.rackspacecloud.com"
@hp_host = options[:hp_host] || "fake-endpoint.api.hpcloud.com"
@hp_port = options[:hp_port] || "80"
@hp_auth_path = options[:hp_auth_path] || "auth/v1.0"
hp_auth_url = "#{@hp_host}:#{@hp_port}"