Skip to content

Commit

Permalink
Fixes #4476 - request localized api responses
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Strachota committed Mar 24, 2014
1 parent 01c8904 commit b44318a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/hammer_cli_foreman/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def self.resource_config
config[:logger] = Logging.logger['API']
config[:api_version] = 2
config[:aggressive_cache_checking] = HammerCLI::Settings.get(:foreman, :refresh_cache) || true
config[:headers] = { "Accept-Language" => HammerCLI::I18n.locale }
config[:timeout] = HammerCLI::Settings.get(:foreman, :request_timeout)
config
end
Expand Down

0 comments on commit b44318a

Please sign in to comment.