mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
fix(container): rename Stale to MarkedForUpdate
renames the container.Stale field to what it's actually used for, as staleness is not the only factor used to decide whether a container should be updated anymore also hides the private field along with linkedToRestarting
This commit is contained in:
parent
023c1a7d93
commit
cb8e86d705
3 changed files with 16 additions and 16 deletions
|
|
@ -64,8 +64,8 @@ type Container interface {
|
|||
GetLifecycleCommand(LifecyclePhase) string
|
||||
GetLifecycleTimeout(LifecyclePhase) time.Duration
|
||||
VerifyConfiguration() error
|
||||
SetStale(bool)
|
||||
IsStale() bool
|
||||
SetMarkedForUpdate(bool)
|
||||
IsMarkedForUpdate() bool
|
||||
IsNoPull(UpdateParams) bool
|
||||
SetLinkedToRestarting(bool)
|
||||
IsLinkedToRestarting() bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue