mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
Backing out unneeded changes
This commit is contained in:
parent
bb9833e16c
commit
722173bcdc
1 changed files with 2 additions and 2 deletions
|
|
@ -325,10 +325,10 @@ func (client dockerClient) IsContainerStale(container t.Container, params t.Upda
|
||||||
return false, container.SafeImageID(), err
|
return false, container.SafeImageID(), err
|
||||||
}
|
}
|
||||||
|
|
||||||
return client.HasNewImage(ctx, container, params)
|
return client.HasNewImage(ctx, container)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (client dockerClient) HasNewImage(ctx context.Context, container t.Container, params t.UpdateParams) (hasNew bool, latestImage t.ImageID, err error) {
|
func (client dockerClient) HasNewImage(ctx context.Context, container t.Container) (hasNew bool, latestImage t.ImageID, err error) {
|
||||||
currentImageID := t.ImageID(container.ContainerInfo().ContainerJSONBase.Image)
|
currentImageID := t.ImageID(container.ContainerInfo().ContainerJSONBase.Image)
|
||||||
imageName := container.ImageName()
|
imageName := container.ImageName()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue