mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-23 10:30:12 +01:00
feature/112: implement include-stopped
This commit is contained in:
parent
3c2e184823
commit
1cfa453f40
6 changed files with 79 additions and 23 deletions
5
main.go
5
main.go
|
|
@ -89,7 +89,10 @@ func before(c *cli.Context) error {
|
|||
return err
|
||||
}
|
||||
|
||||
client = container.NewClient(!c.GlobalBool("no-pull"))
|
||||
client = container.NewClient(
|
||||
!c.GlobalBool("no-pull"),
|
||||
c.GlobalBool("include-stopped"),
|
||||
)
|
||||
notifier = notifications.NewNotifier(c)
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue