Fixes the fix of the failure for container-recipes with no exposed ports.

This commit is contained in:
benbierens 2023-06-02 11:38:52 +02:00
parent 346a63abaa
commit 7c4a2ea12c
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
public Port[] GetServicePortsForContainerRecipe(ContainerRecipe containerRecipe) public Port[] GetServicePortsForContainerRecipe(ContainerRecipe containerRecipe)
{ {
if (servicePortMap.ContainsKey(containerRecipe)) return Array.Empty<Port>(); if (!servicePortMap.ContainsKey(containerRecipe)) return Array.Empty<Port>();
return servicePortMap[containerRecipe]; return servicePortMap[containerRecipe];
} }
} }