Fixes the fix of the failure for container-recipes with no exposed ports.
This commit is contained in:
parent
346a63abaa
commit
7c4a2ea12c
|
@ -20,7 +20,7 @@
|
|||
|
||||
public Port[] GetServicePortsForContainerRecipe(ContainerRecipe containerRecipe)
|
||||
{
|
||||
if (servicePortMap.ContainsKey(containerRecipe)) return Array.Empty<Port>();
|
||||
if (!servicePortMap.ContainsKey(containerRecipe)) return Array.Empty<Port>();
|
||||
return servicePortMap[containerRecipe];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue