Skip to content

Commit

Permalink
issue #95 - get_repository_info(name) should pass the DEFAULT_ACCEPT_…
Browse files Browse the repository at this point in the history
…HEADER to nexus.
  • Loading branch information
rteabeault committed Feb 8, 2014
1 parent 0af134e commit dbc3cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexus_cli/mixins/repository_actions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def delete_repository(name)
# @return [String] A String of XML with information about the desired
# repository.
def get_repository_info(name)
response = nexus.get(nexus_url("service/local/repositories/#{sanitize_for_id(name)}"))
response = nexus.get(nexus_url("service/local/repositories/#{sanitize_for_id(name)}"), :header => DEFAULT_ACCEPT_HEADER)
case response.status
when 200
return response.content
Expand Down

0 comments on commit dbc3cd2

Please sign in to comment.