Skip to content

Commit

Permalink
[stages purge] Remove containers that use werf images with force option
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-igrychev committed Oct 21, 2019
1 parent 19deae8 commit 5c1b2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cleaning/stages_purge.go
Expand Up @@ -22,7 +22,7 @@ func stagesPurge(options StagesPurgeOptions) error {
commonProjectOptions.ProjectName = options.ProjectName
commonProjectOptions.CommonOptions = CommonOptions{
RmiForce: true,
RmForce: false,
RmForce: options.RmContainersThatUseWerfImages,
RmContainersThatUseWerfImages: options.RmContainersThatUseWerfImages,
DryRun: options.DryRun,
}
Expand Down

0 comments on commit 5c1b2c1

Please sign in to comment.