remove useless warning when a container is running a local built image
This commit is contained in:
@@ -397,13 +397,13 @@ func (dh *DockerHelper) parseContainer(ctx context.Context, container container.
|
|||||||
switch {
|
switch {
|
||||||
case len(imageMetadata.RepoDigests) == 0:
|
case len(imageMetadata.RepoDigests) == 0:
|
||||||
{
|
{
|
||||||
slog.Warn("no remote digest found, ignoring",
|
slog.Debug("no remote digest found, ignoring",
|
||||||
"thread", contextutil.ThreadName(ctx),
|
"thread", contextutil.ThreadName(ctx),
|
||||||
"container", name,
|
"container", name,
|
||||||
"container_id", container.ID,
|
"container_id", container.ID,
|
||||||
"image_name", container.Image,
|
"image_name", container.Image,
|
||||||
"image_id", container.ImageID)
|
"image_id", container.ImageID)
|
||||||
return Container{}, err
|
return Container{}, nil
|
||||||
}
|
}
|
||||||
case len(imageMetadata.RepoDigests) > 1:
|
case len(imageMetadata.RepoDigests) > 1:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user