summaryrefslogtreecommitdiff
path: root/cmd/podman/events.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/events.go')
-rw-r--r--cmd/podman/events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/events.go b/cmd/podman/events.go
index 4c11fe1f3..15f5e9571 100644
--- a/cmd/podman/events.go
+++ b/cmd/podman/events.go
@@ -40,7 +40,7 @@ func init() {
}
func eventsCmd(c *cliconfig.EventValues) error {
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "error creating libpod runtime")
}