Skip to content

Commit ed80c0b

Browse files
authored
Backport random container port PR from main (#1455)
1 parent d5cd256 commit ed80c0b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Aspire.Hosting/Dcp/ApplicationExecutor.cs

-5
Original file line numberDiff line numberDiff line change
@@ -567,11 +567,6 @@ private async Task CreateContainersAsync(IEnumerable<AppResource> containerResou
567567
portSpec.HostIP = sp.DcpServiceProducerAnnotation.Address;
568568
}
569569

570-
if (sp.ServiceBindingAnnotation.Port is not null)
571-
{
572-
portSpec.HostPort = sp.ServiceBindingAnnotation.Port;
573-
}
574-
575570
switch (sp.ServiceBindingAnnotation.Protocol)
576571
{
577572
case ProtocolType.Tcp:

0 commit comments

Comments
 (0)