Skip to content

Commit

Permalink
Update lib/plugins/output-filter/kubernetes-enrichment.js
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo B <10291154+PabloB94@users.noreply.github.com>
  • Loading branch information
rishabh-shah12 and PabloB94 authored Feb 2, 2022
1 parent a04d992 commit 14468b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/plugins/output-filter/kubernetes-enrichment.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ function replaceDockerImageName (pod, data) {
return
}
if (data.container.image.name === 'sha256') {
//data.container.image.digest = 'sha256:' + data.container.image.tag
console.log(`Container name: ${data.container.image.name}`)
console.log(`Container tag: ${data.container.image.tag}`)
data.container.image.digest = 'sha256:' + data.container.image.tag
}
data.container.image.name = imageInfo.name
data.container.image.tag = imageInfo.tag
Expand Down

0 comments on commit 14468b8

Please sign in to comment.