Skip to content
Permalink
Browse files
fix(datasource/adoptium-java): wrong cache key (#11658)
  • Loading branch information
viceice committed Sep 9, 2021
1 parent 0ee8440 commit 955942b5638f4d9564845111bb01f65b3a6b701f
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/datasource/adoptium-java/index.ts
@@ -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,

0 comments on commit 955942b

Please sign in to comment.