Skip to content

Commit 0bfede9

Browse files
Fix name of parameter in ArgumentNullException (Azure#39803)
1 parent ab97761 commit 0bfede9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Thank you to our developer community members who helped to make the Key Vault co
1616

1717
### Bugs Fixed
1818

19+
- Corrected the parameter name in the `ArgumentNullException` that is thrown if a null `options` argument is passed
20+
to `AddAzureKeyVault`.
21+
1922
### Other Changes
2023

2124
## 1.2.2 (2022-04-05)

sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/src/AzureKeyVaultConfigurationExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static IConfigurationBuilder AddAzureKeyVault(
9898
AzureKeyVaultConfigurationOptions options)
9999
{
100100
Argument.AssertNotNull(configurationBuilder, nameof(configurationBuilder));
101-
Argument.AssertNotNull(options, nameof(configurationBuilder));
101+
Argument.AssertNotNull(options, nameof(options));
102102
Argument.AssertNotNull(client, nameof(client));
103103
Argument.AssertNotNull(options.Manager, $"{nameof(options)}.{nameof(options.Manager)}");
104104

0 commit comments

Comments
 (0)