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

[compute|rackspace] fix nil check for auth token

This commit is contained in:
geemus 2011-06-22 11:24:57 -07:00
parent d25388bed6
commit 167b7c50cf

View file

@ -127,7 +127,7 @@ module Fog
private
def authenticate
if @rackspace_must_reauthenticate or @rackspace_auth_token.empty?
if @rackspace_must_reauthenticate || @rackspace_auth_token.nil?
options = {
:rackspace_api_key => @rackspace_api_key,
:rackspace_username => @rackspace_username,