fix: Typo in --all arg for buildah and podman prune

This commit is contained in:
Gerald Pinder 2024-12-14 00:48:12 -05:00
parent 974ba34225
commit 469c6044a6
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@ impl BuildDriver for BuildahDriver {
"buildah",
"prune",
"--force",
if opts.all => "-all",
if opts.all => "--all",
)
.message_status("buildah prune", "Pruning Buildah System")
.into_diagnostic()?;

View file

@ -260,7 +260,7 @@ impl BuildDriver for PodmanDriver {
"system",
"prune",
"--force",
if opts.all => "-all",
if opts.all => "--all",
if opts.volumes => "--volumes",
)
.message_status("podman system prune", "Pruning Podman System")