Skip to content

Commit

Permalink
Fix incorrect logging parameter order in LogInformation call (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
normj authored Oct 10, 2023
1 parent 73e92dd commit eecb223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aspire.Hosting.Azure.Provisioning/AzureProvisioner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eecb223

Please sign in to comment.