mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 07:00:13 +01:00
Make client compatible with change to dockerclient api
This commit is contained in:
parent
2c0a9fa3d2
commit
39c014c0cf
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ func (client dockerClient) IsContainerStale(c Container) (bool, error) {
|
|||
func (client dockerClient) RemoveImage(c Container) error {
|
||||
imageID := c.ImageID()
|
||||
log.Infof("Removing image %s", imageID)
|
||||
_, err := client.api.RemoveImage(imageID)
|
||||
_, err := client.api.RemoveImage(imageID,false)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue