Skip to content

Commit

Permalink
add keystone support (see commits to iron_core)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyeremenko committed Aug 13, 2014
1 parent bda169d commit 4516e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iron_mq/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def initialize(options={})
end

def headers
super.merge({'Authorization' => "OAuth #{@token}"})
super.merge({'Authorization' => "OAuth #{@token_provider.nil? ? @token : @token_provider.token}"})
end

def base_url
Expand Down

0 comments on commit 4516e6c

Please sign in to comment.