diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-07-05 11:09:51 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-07-05 11:12:30 +0200 |
commit | c02f793bab8e79e45f4fa798723b13a806557c44 (patch) | |
tree | 9d5969b5bdc5c5862994235e67d7901b5e959bea /libpod/healthcheck.go | |
parent | a406b950e4f8cf64bdd2c1e03a8480d4b5f97226 (diff) | |
download | podman-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