mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
Add container name to new image found log, useful when running monitor-only
This commit is contained in:
parent
01fd38b3a9
commit
78aa13e619
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ func (client dockerClient) HasNewImage(ctx context.Context, container t.Containe
|
||||||
return false, currentImageID, nil
|
return false, currentImageID, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Infof("Found new %s image (%s)", imageName, newImageID.ShortID())
|
log.Infof("Found new %s image (%s) for container %s", imageName, newImageID.ShortID(), container.Name())
|
||||||
return true, newImageID, nil
|
return true, newImageID, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue