diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-04-21 14:07:54 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-04-21 14:07:54 +0200 |
commit | eb71712626f96fc0a7e2803a6b6e6f82bec0a3a2 (patch) | |
tree | 45b2f08769b411c578eddef7e1e28525f8bade6a /test/e2e/start_test.go | |
parent | 13c6fd067cab2fd21f96837c6b6105ebb740fd1d (diff) | |
download | podman-eb71712626f96fc0a7e2803a6b6e6f82bec0a3a2.tar.gz podman-eb71712626f96fc0a7e2803a6b6e6f82bec0a3a2.tar.bz2 podman-eb71712626f96fc0a7e2803a6b6e6f82bec0a3a2.zip |
systemd socker activation: check listener
activation.Listeners() can return an net.Listener array which contains
nil entries if it cannot listen on the given fds. This can cause podman
to panic so we should check the we have non nil net.Listener first.
[NO NEW TESTS NEEDED] No idea how to reproduce this.
Fixes #13911
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/e2e/start_test.go')
0 files changed, 0 insertions, 0 deletions