mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
Allow watchtower to update rebooting containers (#651)
Co-authored-by: nils måsén <nils@piksel.se> Co-authored-by: Simon Aronsson <simme@arcticbit.se>
This commit is contained in:
parent
64d48b70c2
commit
2842b97df3
6 changed files with 362 additions and 19 deletions
|
|
@ -116,6 +116,7 @@ func PreRun(cmd *cobra.Command, args []string) {
|
|||
|
||||
noPull, _ := f.GetBool("no-pull")
|
||||
includeStopped, _ := f.GetBool("include-stopped")
|
||||
includeRestarting, _ := f.GetBool("include-restarting")
|
||||
reviveStopped, _ := f.GetBool("revive-stopped")
|
||||
removeVolumes, _ := f.GetBool("remove-volumes")
|
||||
|
||||
|
|
@ -128,6 +129,7 @@ func PreRun(cmd *cobra.Command, args []string) {
|
|||
includeStopped,
|
||||
reviveStopped,
|
||||
removeVolumes,
|
||||
includeRestarting,
|
||||
)
|
||||
|
||||
notifier = notifications.NewNotifier(cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue