summaryrefslogtreecommitdiff
path: root/cmd/podman/healthcheck.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-19 20:17:31 +0200
committerGitHub <noreply@github.com>2019-08-19 20:17:31 +0200
commitd23639aa4d24278648a2ba5532143d47464a3d7d (patch)
tree52564628f753235de5e3ba416ae6340e004936ac /cmd/podman/healthcheck.go
parentc137e8fcf95b441b5002ec1b39e6cc131471b88a (diff)
parent8c7014f11d02c324b56779ef277e0c9365ce1c86 (diff)
downloadpodman-d23639aa4d24278648a2ba5532143d47464a3d7d.tar.gz
podman-d23639aa4d24278648a2ba5532143d47464a3d7d.tar.bz2
podman-d23639aa4d24278648a2ba5532143d47464a3d7d.zip
Merge pull request #3476 from ashley-cui/remotehealthcheck
Implement healthcheck for remote client
Diffstat (limited to 'cmd/podman/healthcheck.go')
-rw-r--r--cmd/podman/healthcheck.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/podman/healthcheck.go b/cmd/podman/healthcheck.go
index 9fb099ffa..140206dbe 100644
--- a/cmd/podman/healthcheck.go
+++ b/cmd/podman/healthcheck.go
@@ -16,11 +16,12 @@ var healthcheckCommand = cliconfig.PodmanCommand{
}
// Commands that are universally implemented
-var healthcheckCommands []*cobra.Command
+var healthcheckCommands = []*cobra.Command{
+ _healthcheckrunCommand,
+}
func init() {
healthcheckCommand.AddCommand(healthcheckCommands...)
- healthcheckCommand.AddCommand(getHealthcheckSubCommands()...)
healthcheckCommand.SetUsageTemplate(UsageTemplate())
rootCmd.AddCommand(healthcheckCommand.Command)
}