summaryrefslogtreecommitdiff
path: root/cmd/podman/tag.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-01-15 14:44:46 -0600
committerbaude <bbaude@redhat.com>2019-01-15 16:01:25 -0600
commite68f03ae45adbaa539c7470aa5f99dc870c185dc (patch)
tree186737d7a6578d48496a25233831bc7465381e57 /cmd/podman/tag.go
parent341f91da480bbf337dfb13107389307835b1f0c3 (diff)
downloadpodman-e68f03ae45adbaa539c7470aa5f99dc870c185dc.tar.gz
podman-e68f03ae45adbaa539c7470aa5f99dc870c185dc.tar.bz2
podman-e68f03ae45adbaa539c7470aa5f99dc870c185dc.zip
Embed runtime struct in super localRuntime
We clean up the code by eliminating stuttering references when we embed the runtime struct into localRuntime. Makes for less change in the future as well. ++ jhonce Signed-off-by: baude <bbaude@redhat.com>
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 8e92ca2fa..d19cf69a2 100644
--- a/cmd/podman/tag.go
+++ b/cmd/podman/tag.go
@@ -27,7 +27,7 @@ func tagCmd(c *cli.Context) error {
if err != nil {
return errors.Wrapf(err, "could not create runtime")
}
- defer runtime.Runtime.Shutdown(false)
+ defer runtime.Shutdown(false)
newImage, err := runtime.NewImageFromLocal(args[0])
if err != nil {