We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8599f30 commit f37111eCopy full SHA for f37111e
src/CommunityToolkit.Aspire.Hosting.Solr/SolrBuilderExtensions.cs
@@ -33,7 +33,11 @@ public static IResourceBuilder<SolrResource> AddSolr(this IDistributedApplicatio
33
34
builder.Eventing.Subscribe<ConnectionStringAvailableEvent>(resource, async (_, ct) =>
35
{
36
- connectionString = await resource.ConnectionStringExpression.GetValueAsync(ct).ConfigureAwait(false);
+
37
38
+ builder.Eventing.Subscribe<ConnectionStringAvailableEvent>(resource, async (_, ct) =>
39
+ {
40
+ var connectionString = await resource.ConnectionStringExpression.GetValueAsync(ct).ConfigureAwait(false);
41
42
if (connectionString is null)
43
0 commit comments