Skip to content

Commit

Permalink
fix(datasource/adoptium-java): wrong cache key (#11658)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Sep 9, 2021
1 parent 0ee8440 commit 955942b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/datasource/adoptium-java/index.ts
Expand Up @@ -27,7 +27,8 @@ export class AdoptiumJavaDatasource extends Datasource {

@cache({
namespace: `datasource-${datasource}`,
key: ({ registryUrl }: GetReleasesConfig) => `${registryUrl}`,
key: ({ registryUrl, lookupName }: GetReleasesConfig) =>
`${registryUrl}:${getImageType(lookupName)}`,
})
async getReleases({
registryUrl,
Expand Down

0 comments on commit 955942b

Please sign in to comment.