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

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