Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4884590

Browse files
Fixed properties override when publishing an update in external service (#10824)
Co-authored-by: Isla <git@isla.dev>
1 parentc1862a0 commit4884590

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/Aspire.Hosting/ExternalServiceBuilderExtensions.cs‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with
145145

146146
awaite.Notifications.PublishUpdateAsync(resource, snapshot=>snapshotwith
147147
{
148-
Properties=[
149-
new(CustomResourceKnownProperties.Source,uri.Host)
150-
],
148+
Properties=snapshot.Properties.SetResourceProperty(CustomResourceKnownProperties.Source,uri.Host),
151149
// Add the URL if it came from a parameter as non-static URLs must be published by the owning custom resource
152150
Urls=AddUrlIfNotPresent(snapshot.Urls,uri),
153151
// Required in order for health checks to work

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp