mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-27 12:18:48 +01:00
Update client.go
This commit is contained in:
parent
ad6be06878
commit
3d18c7ec48
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ func (client dockerClient) IsContainerStale(container Container) (bool, error) {
|
|||
}
|
||||
|
||||
func (client dockerClient) HasNewImage(ctx context.Context, container Container) (bool, error) {
|
||||
oldImageID := container.imageInfo.ID
|
||||
oldImageID := container.containerInfo.ContainerJSONBase.Image
|
||||
imageName := container.ImageName()
|
||||
|
||||
newImageInfo, _, err := client.api.ImageInspectWithRaw(ctx, imageName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue