mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace] adding deprecation warning for auth v1.0/v1.1 authentication endpoints
This commit is contained in:
parent
2647212838
commit
bf9114258d
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ module Fog
|
|||
if @rackspace_auth_url =~ /v2(\.\d)?\w*$/
|
||||
:authenticate_v2
|
||||
else
|
||||
Fog::Logger.deprecation "Authentication using a v1.0/v1.1 endpoint is deprecated. Please specify a v2.0 endpoint using :rackpace_auth_url.\
|
||||
For a list of v2.0 endpoints refer to http://docs.rackspace.com/auth/api/v2.0/auth-client-devguide/content/Endpoints-d1e180.html"
|
||||
:authenticate_v1
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue