Skip to content

Commit 073a979

Browse files
committed
fix: add proper log
1 parent 7b4ac50 commit 073a979

File tree

1 file changed

+1
-1
lines changed
  • code/base-project/image-scan/dockerimageprocessing

1 file changed

+1
-1
lines changed

code/base-project/image-scan/dockerimageprocessing/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (ii *ImageInfo) findImages(node interface{}, path string, images *map[strin
6969
// Directly check for image specification here
7070
imagePath, isImage := ii.constructImagePath(node)
7171
if isImage {
72-
ii.logger.Info("Found Docker Image specification", zap.String("path", currentNode.Path+".tag"), zap.String("imagePath", imagePath))
72+
ii.logger.Info("Found Docker Image specification:", zap.String("path", currentNode.Path+".tag"), zap.String("imagePath", imagePath))
7373
(*images)[currentNode.Path+".tag"] = imagePath
7474
continue // Found an image specification, no need to go deeper in this branch
7575
}

0 commit comments

Comments
 (0)