chore: standardize on ls subcommand when interacting with the docker binary
The ls command is what is referenced in the --help output for the subcommands, so we should just use that everywhere.
This commit is contained in:
@@ -303,7 +303,7 @@ func ListDanglingImages(appName string) ([]string, error) {
|
||||
command := []string{
|
||||
DockerBin(),
|
||||
"image",
|
||||
"list",
|
||||
"ls",
|
||||
"--quiet",
|
||||
"--filter",
|
||||
"dangling=true",
|
||||
@@ -360,7 +360,7 @@ func DockerFilterContainers(filters []string) ([]string, error) {
|
||||
command := []string{
|
||||
DockerBin(),
|
||||
"container",
|
||||
"list",
|
||||
"ls",
|
||||
"--quiet",
|
||||
"--all",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user