mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2819 from estum/patch-1
Fix endpoint version detecting from rackspace_auth_url with trailing slash
This commit is contained in:
commit
386f93c401
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def v2_authentication?
|
def v2_authentication?
|
||||||
@rackspace_auth_url.nil? || @rackspace_auth_url =~ /v2(\.\d)?\w*$/
|
@rackspace_auth_url.nil? || @rackspace_auth_url =~ /v2(\.\d)?[\w\/]*$/
|
||||||
end
|
end
|
||||||
|
|
||||||
def authenticate_v2(identity_options)
|
def authenticate_v2(identity_options)
|
||||||
|
|
Loading…
Reference in a new issue