diff options
author | Miloslav Trmač <mitr@redhat.com> | 2021-11-19 10:01:02 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2021-11-30 22:13:52 +0100 |
commit | f415b3055290b383c76d98127ec168ddea629680 (patch) | |
tree | b43793cbf686389fc6c079e03b6b0486cd769baf /libpod/container_internal_test.go | |
parent | a948ecbb9c7c90e249cded94a2239192a4ad766a (diff) | |
download | podman-f415b3055290b383c76d98127ec168ddea629680.tar.gz podman-f415b3055290b383c76d98127ec168ddea629680.tar.bz2 podman-f415b3055290b383c76d98127ec168ddea629680.zip |
Ensure the generated NodePort values are unique
... at least within a single service.
[NO NEW TESTS NEEDED]
because testing RNGs is problematic. (We _could_
probably inject a mock RNG implementation that always
returns the same value, or something like that.)
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'libpod/container_internal_test.go')
0 files changed, 0 insertions, 0 deletions