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
|
|
@ -371,7 +371,7 @@ var _ = Describe("the update action", func() {
|
|||
ExposedPorts: map[nat.Port]struct{}{},
|
||||
})
|
||||
|
||||
provider.SetStale(true)
|
||||
provider.SetMarkedForUpdate(true)
|
||||
|
||||
consumer := CreateMockContainerWithConfig(
|
||||
"test-container-consumer",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue