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:
parent
d25388bed6
commit
167b7c50cf
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue