Skip to content

Commit

Permalink
Add accept header for getRepositories method
Browse files Browse the repository at this point in the history
  • Loading branch information
ilayaperumalg committed Nov 20, 2020
1 parent f6044fa commit 4450e12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public Map getRepositories(String registryName) {
this.registryAuthorizerMap.get(containerRegistryConfiguration.getAuthorizationType())
.getAuthorizationHeaders(
containerRegistryConfiguration, properties));

httpHeaders.set(HttpHeaders.ACCEPT, "application/json");
UriComponents manifestUriComponents = UriComponentsBuilder.newInstance()
.scheme(HTTPS_SCHEME)
.host(containerRegistryConfiguration.getRegistryHost())
Expand Down

0 comments on commit 4450e12

Please sign in to comment.