Skip to content

Commit

Permalink
fix(docker): Fixing Groovyism: Defer problems to runtime, thats fine (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert committed Mar 21, 2018
1 parent 285c4a4 commit cdd8cde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class DockerMonitor extends CommonPollingMonitor<ImageDelta, DockerPollingDelta>

List<ImageDelta> delta = []
images.parallelStream().forEach({ TaggedImage image ->
String imageId = cache.makeKey(account, image.registry, image.repository, image.tag)
String imageId = new DockerRegistryV2Key(igorProperties.spinnaker.jedis.prefix, DockerRegistryCache.ID, account, image.registry, image.tag)
if (shouldUpdateCache(cachedImages, imageId, image, trackDigests)) {
delta.add(new ImageDelta(imageId: imageId, image: image))
}
Expand Down

0 comments on commit cdd8cde

Please sign in to comment.