mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
fix some errors and clean up
This commit is contained in:
parent
c1a0da9a9d
commit
98c60d7441
4 changed files with 12 additions and 61 deletions
|
@ -121,8 +121,8 @@ func (c Container) IsWatchtower() bool {
|
|||
|
||||
// PreUpdateTimeout checks whether a container has a specific timeout set
|
||||
// for how long the pre-update command is allowed to run. This value is expressed
|
||||
// either as an integer, in minutes, or as "off" which will allow the command/script
|
||||
// to run indefinitely. Users should be cautious with the off option, as that
|
||||
// either as an integer, in minutes, or as 0 which will allow the command/script
|
||||
// to run indefinitely. Users should be cautious with the 0 option, as that
|
||||
// could result in watchtower waiting forever.
|
||||
func (c Container) PreUpdateTimeout() int {
|
||||
var minutes int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue