Skip to content

Commit 785fa77

Browse files
nervghalexey-igrychev
authored andcommitted
fix(host-cleanup): purge Stapel assembling container
Signed-off-by: Alexandr Zaytsev <alexandr.zaytsev@flant.com>
1 parent 928d603 commit 785fa77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: pkg/host_cleaning/local_purger.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ func newLocalPurger(backend container_backend.ContainerBackend) *localPurger {
2525
}
2626

2727
func (purger *localPurger) FlushContainers(ctx context.Context, options CommonOptions) error {
28-
containers, err := werfContainersByContainersOptions(ctx, purger.backend, buildContainersOptions())
28+
containers, err := werfContainersByContainersOptions(ctx, purger.backend, buildContainersOptions(image.ContainerFilter{
29+
Name: image.AssemblingContainerNamePrefix,
30+
}))
2931
if err != nil {
3032
return err
3133
}

0 commit comments

Comments
 (0)