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:
@@ -16,7 +16,7 @@ func listImagesByAppLabel(appName string) ([]string, error) {
|
||||
command := []string{
|
||||
common.DockerBin(),
|
||||
"image",
|
||||
"list",
|
||||
"ls",
|
||||
"--quiet",
|
||||
"--filter",
|
||||
fmt.Sprintf("label=com.dokku.app-name=%v", appName),
|
||||
@@ -40,7 +40,7 @@ func listImagesByImageRepo(imageRepo string) ([]string, error) {
|
||||
command := []string{
|
||||
common.DockerBin(),
|
||||
"image",
|
||||
"list",
|
||||
"ls",
|
||||
"--quiet",
|
||||
imageRepo,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user