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, 1 insertions, 1 deletions
diff --git a/cmd/podman/healthcheck_run.go b/cmd/podman/healthcheck_run.go
index 832451e0c..111318d9c 100644
--- a/cmd/podman/healthcheck_run.go
+++ b/cmd/podman/healthcheck_run.go
@@ -38,7 +38,7 @@ func init() {
}
func healthCheckCmd(c *cliconfig.HealthCheckValues) error {
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrap(err, "could not get runtime")
}