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:
nils måsén 2024-01-05 19:24:11 +01:00
parent 023c1a7d93
commit cb8e86d705
3 changed files with 16 additions and 16 deletions

View file

@ -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