summaryrefslogtreecommitdiff
path: root/cmd/podman/service.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-25 21:32:28 +0100
committerGitHub <noreply@github.com>2020-02-25 21:32:28 +0100
commit609407d4e6a489603754f1f44e47c7fd9ff5e4b8 (patch)
tree4ab6e963be7acc584e10d157a668da5d336f0eda /cmd/podman/service.go
parent6c5591ed9d89494e166ef0ffa8a1ff36333d1a1b (diff)
parent997e3c886383aab4cdf86c386469d20ac589e158 (diff)
downloadpodman-609407d4e6a489603754f1f44e47c7fd9ff5e4b8.tar.gz
podman-609407d4e6a489603754f1f44e47c7fd9ff5e4b8.tar.bz2
podman-609407d4e6a489603754f1f44e47c7fd9ff5e4b8.zip
Merge pull request #5326 from jwhonce/issues/5311
Remove 1 sec delay
Diffstat (limited to 'cmd/podman/service.go')
-rw-r--r--cmd/podman/service.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/service.go b/cmd/podman/service.go
index 3e0ff927f..7606e3009 100644
--- a/cmd/podman/service.go
+++ b/cmd/podman/service.go
@@ -143,7 +143,6 @@ 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()
listener = &l
}
server, err := api.NewServerWithSettings(r, timeout, listener)