Skip to content

Commit 00bb869

Browse files
Update src/CommunityToolkit.Aspire.Hosting.LavinMQ/LavinMQHostingExtension.cs
Co-authored-by: Aaron Powell <me@aaron-powell.com>
1 parent 4c37fa3 commit 00bb869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit.Aspire.Hosting.LavinMQ/LavinMQHostingExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static IResourceBuilder<LavinMQContainerResource> AddLavinMQ(this IDistri
3838
{
3939
connectionString = await instance.ConnectionStringExpression.GetValueAsync(ct).ConfigureAwait(false);
4040

41-
if (connectionString == null)
41+
if (connectionString is null)
4242
{
4343
throw new DistributedApplicationException($"ConnectionStringAvailableEvent was published for the '{instance.Name}' resource but the connection string was null.");
4444
}

0 commit comments

Comments
 (0)