summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/swagger.go
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-06-01 15:05:13 +0200
committerMatej Vasek <mvasek@redhat.com>2021-06-01 15:25:20 +0200
commitad182976b6bcdccd32a31f89a765657b0d1b76da (patch)
treeb369f834123915194db745ccdc1eee2aa2e2762c /pkg/api/handlers/libpod/swagger.go
parent7dd463bad1b53802caf3cc1e1e1cc4a250e1667a (diff)
downloadpodman-ad182976b6bcdccd32a31f89a765657b0d1b76da.tar.gz
podman-ad182976b6bcdccd32a31f89a765657b0d1b76da.tar.bz2
podman-ad182976b6bcdccd32a31f89a765657b0d1b76da.zip
Use request context instead of background
This prevents goroutine leak: If background context were used then push operation would continue even if client aborted request by closing connection. [NO TESTS NEEDED] Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod/swagger.go')
0 files changed, 0 insertions, 0 deletions