summaryrefslogtreecommitdiff
path: root/cmd/podman/service.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-01-30 12:40:19 -0600
committerBrent Baude <bbaude@redhat.com>2020-01-31 08:38:25 -0600
commitf1eaccedfa08455d699d00dcda63b95aeb34833e (patch)
tree65d385fd683a66686b225827c760e5bc95f7e346 /cmd/podman/service.go
parent36af2833f954e1c822b917ecff45c05858188c2d (diff)
downloadpodman-f1eaccedfa08455d699d00dcda63b95aeb34833e.tar.gz
podman-f1eaccedfa08455d699d00dcda63b95aeb34833e.tar.bz2
podman-f1eaccedfa08455d699d00dcda63b95aeb34833e.zip
fix longname handling for bindings
the api needs to account for image input where the image is encoded as a fqd image name. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/service.go')
-rw-r--r--cmd/podman/service.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/service.go b/cmd/podman/service.go
index 6e2b4a366..4978b5d51 100644
--- a/cmd/podman/service.go
+++ b/cmd/podman/service.go
@@ -115,6 +115,7 @@ func runREST(r *libpod.Runtime, uri string, timeout time.Duration) error {
if err != nil {
return errors.Wrapf(err, "unable to create socket %s", uri)
}
+ defer l.Close()
server, err := api.NewServerWithSettings(r, timeout, &l)
if err != nil {
return err