summaryrefslogtreecommitdiff
path: root/cmd/podman/healthcheck/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/healthcheck/run.go')
-rw-r--r--cmd/podman/healthcheck/run.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/healthcheck/run.go b/cmd/podman/healthcheck/run.go
index 6d7f0b548..b4331d04e 100644
--- a/cmd/podman/healthcheck/run.go
+++ b/cmd/podman/healthcheck/run.go
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
+ "github.com/containers/podman/v2/cmd/podman/common"
"github.com/containers/podman/v2/cmd/podman/registry"
"github.com/containers/podman/v2/pkg/domain/entities"
"github.com/spf13/cobra"
@@ -18,6 +19,7 @@ var (
Example: `podman healthcheck run mywebapp`,
RunE: run,
Args: cobra.ExactArgs(1),
+ ValidArgsFunction: common.AutocompleteContainersRunning,
DisableFlagsInUseLine: true,
}
)