Skip to content

Commit 12e7ccb

Browse files
Update internal/orchestrator/cache.go
Co-authored-by: Luca Rinaldi <to@lucar.in>
1 parent 2b3db88 commit 12e7ccb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/orchestrator/cache.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ func CleanAppCache(
3232
return ErrCleanCacheRunningApp
3333
}
3434
// We try to remove docker related resources at best effort
35-
_ = StopAndDestroyApp(ctx, app)
35+
for range StopAndDestroyApp(ctx, app) {
36+
// just consume the iterator
37+
}
3638
}
3739

3840
return app.ProvisioningStateDir().RemoveAll()

0 commit comments

Comments
 (0)