From eecb223ec18f0ee2e77bceb398754c6fbe7ce326 Mon Sep 17 00:00:00 2001 From: Norm Johanson Date: Tue, 10 Oct 2023 11:24:26 -0700 Subject: [PATCH] Fix incorrect logging parameter order in LogInformation call (#201) --- src/Aspire.Hosting.Azure.Provisioning/AzureProvisioner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Aspire.Hosting.Azure.Provisioning/AzureProvisioner.cs b/src/Aspire.Hosting.Azure.Provisioning/AzureProvisioner.cs index 33d68d62d7..416dcae976 100644 --- a/src/Aspire.Hosting.Azure.Provisioning/AzureProvisioner.cs +++ b/src/Aspire.Hosting.Azure.Provisioning/AzureProvisioner.cs @@ -64,7 +64,7 @@ private async Task ProvisionAzureComponents(IConfiguration configuration, IHostE var subscription = await armClient.GetDefaultSubscriptionAsync(cancellationToken).ConfigureAwait(false); - logger.LogInformation("Default subscription: {name} ({subscriptionId})", subscription.Id, subscription.Data.DisplayName); + logger.LogInformation("Default subscription: {name} ({subscriptionId})", subscription.Data.DisplayName, subscription.Id); // Name of the resource group to create based on the machine name and application name var (resourceGroupName, createIfNoExists) = configuration["Azure:ResourceGroup"] switch