diff --git a/image-action-gh/base-project/image-scan/dockerimageprocessing/image.go b/image-action-gh/base-project/image-scan/dockerimageprocessing/image.go index ed30e9a..52ac351 100644 --- a/image-action-gh/base-project/image-scan/dockerimageprocessing/image.go +++ b/image-action-gh/base-project/image-scan/dockerimageprocessing/image.go @@ -73,7 +73,7 @@ func (ii *ImageInfo) findImages(node interface{}, path string, images *map[strin // Directly check for image specification here imagePath, isImage := ii.constructImagePath(node) if isImage { - ii.logger.Info("Found docker Image Specification :", zap.String("path", currentNode.Path+".tag"), zap.String("imagePath", imagePath)) + ii.logger.Info(" Found docker Image Specification :", zap.String("path", currentNode.Path+".tag"), zap.String("imagePath", imagePath)) // Access the slice of strings stored in the Images map using 'imagePath' as the key. // Append the value of 'currentNode.Path' concatenated with ".tag" to this slice. // Store the updated slice back in the Images map at the same key.