mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 08:25:36 +00:00
7b77e45f69
Before this change, port ranges were iterated and stored as an object per port mapping. Now the port ranges are stored as ranges until they need to be converted to objects. The need to convert to objects still exists as this is the format which the docker remote API expects, but hopefully this should alleviate bugs like #644 by making the memory more shorter-lived. Also added more tests. Change-type: patch Closes: #644 Signed-of-by: Cameron Diver <cameron@resin.io>