Skip to content

Commit

Permalink
[NVSHAS-9507] Add debug message for drv.GetAllImages()
Browse files Browse the repository at this point in the history
  • Loading branch information
pohanhuangtw committed Dec 20, 2024
1 parent 7f07d4f commit 6067ef8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller/scan/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,9 @@ func (rs *Registry) getScanImages(sctx *scanContext, drv registryDriver, dryrun

// not all driver support this
allImages, err := drv.GetAllImages()
if err != nil {
smd.scanLog.WithFields(log.Fields{"error": err}).Debug("Failed to get all images")
}

if sctx.ctx != nil {
select {
Expand Down

0 comments on commit 6067ef8

Please sign in to comment.