mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-07 07:53:05 +00:00
Fixes crash for container-recipes that expose no external ports.
This commit is contained in:
parent
303eb99f49
commit
346a63abaa
@ -20,6 +20,7 @@
|
||||
|
||||
public Port[] GetServicePortsForContainerRecipe(ContainerRecipe containerRecipe)
|
||||
{
|
||||
if (servicePortMap.ContainsKey(containerRecipe)) return Array.Empty<Port>();
|
||||
return servicePortMap[containerRecipe];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user