Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ensure allocated endpoint checks still work the same
  • Loading branch information
danegsta authored and github-actions committed Oct 31, 2025
commit 47cb2a3a6154e962693821184eec60835a9ce0a3
2 changes: 1 addition & 1 deletion src/Aspire.Hosting/ApplicationModel/EndpointReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public EndpointReferenceExpression Property(EndpointProperty property)

foreach (var nes in endpointAnnotation.AllAllocatedEndpoints)
{
if (StringComparers.NetworkID.Equals(nes.NetworkID, _contextNetworkID))
if (StringComparers.NetworkID.Equals(nes.NetworkID, _contextNetworkID ?? KnownNetworkIdentifiers.LocalhostNetwork))
{
if (!nes.Snapshot.IsValueSet)
{
Expand Down