Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
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
4 changes: 1 addition & 3 deletions src/Aspire.Hosting/ExternalServiceBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with

await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with
{
Properties = [
new(CustomResourceKnownProperties.Source, uri.Host)
],
Properties = snapshot.Properties.SetResourceProperty(CustomResourceKnownProperties.Source, uri.Host),
// Add the URL if it came from a parameter as non-static URLs must be published by the owning custom resource
Urls = AddUrlIfNotPresent(snapshot.Urls, uri),
// Required in order for health checks to work
Expand Down
Loading