Permalink
Browse files

[compute|rackspace] fix nil check for auth token

  • Loading branch information...
geemus committed Jun 22, 2011
1 parent d25388b commit 167b7c50cfd0614f9241a83d418f24500862b297
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fog/compute/rackspace.rb
@@ -127,7 +127,7 @@ def request(params)
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,

0 comments on commit 167b7c5

Please sign in to comment.