Skip to content

Commit

Permalink
fix(docker): Log imageIds when logging new images found (#903)
Browse files Browse the repository at this point in the history
We have seen an intermittent issue wherein the same docker image is found as new and thus Igor sends multiple events to Echo.  Adding this log here should help verify the theory that we are indeed seeing the same image as new multiple times.
  • Loading branch information
jonsie committed Nov 18, 2020
1 parent 51aaf9b commit 6d218d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class DockerMonitor extends CommonPollingMonitor<ImageDelta, DockerPollingDelta>
}
}

log.info("Found {} new images for {}", delta.size(), account)
log.info("Found {} new images for {}. Images: {}", delta.size(), account, delta.collect {[imageId: it.imageId, sendEvent: it.sendEvent] })

return new DockerPollingDelta(items: delta, cachedImages: cachedImages)
}
Expand Down

0 comments on commit 6d218d7

Please sign in to comment.