mirror of
https://github.com/moby/moby.git
synced 2026-08-10 17:15:06 +00:00
RequestPortsInRange calls portMap.getPortRange() in a loop, but the given port-range is always the same. Perform validation once instead of for each iteration. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>