1
0
Fork 0
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:
Kyle Rames 2013-03-05 14:54:03 -06:00
parent 2647212838
commit bf9114258d

View file

@ -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