2
0
mirror of synced 2025-01-23 23:08:52 +00:00

Fixes crash for container-recipes that expose no external ports.

This commit is contained in:
benbierens 2023-06-02 11:30:03 +02:00
parent 303eb99f49
commit 346a63abaa
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA

View File

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