summaryrefslogtreecommitdiff
path: root/cmd/podman/tag.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/tag.go')
-rw-r--r--cmd/podman/tag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/tag.go b/cmd/podman/tag.go
index deda4e985..58f221e26 100644
--- a/cmd/podman/tag.go
+++ b/cmd/podman/tag.go
@@ -38,7 +38,7 @@ func tagCmd(c *cliconfig.TagValues) error {
if len(args) < 2 {
return errors.Errorf("image name and at least one new name must be specified")
}
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "could not create runtime")
}