summaryrefslogtreecommitdiff
path: root/libpod/healthcheck.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-07-05 11:09:51 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2022-07-05 11:12:30 +0200
commitc02f793bab8e79e45f4fa798723b13a806557c44 (patch)
tree9d5969b5bdc5c5862994235e67d7901b5e959bea /libpod/healthcheck.go
parenta406b950e4f8cf64bdd2c1e03a8480d4b5f97226 (diff)
downloadpodman-c02f793bab8e79e45f4fa798723b13a806557c44.tar.gz
podman-c02f793bab8e79e45f4fa798723b13a806557c44.tar.bz2
podman-c02f793bab8e79e45f4fa798723b13a806557c44.zip
test: return immediately on connect
if the connection is successfull then return immediately instead of doing all the iterations. It also solves a problem where connections are leaked since there are multiple Dial but only one Close. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/healthcheck.go')
0 files changed, 0 insertions, 0 deletions