From f1eaccedfa08455d699d00dcda63b95aeb34833e Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Thu, 30 Jan 2020 12:40:19 -0600 Subject: 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 --- cmd/podman/service.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') 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 -- cgit v1.2.3-54-g00ecf