Skip to content

Commit 80f0c74

Browse files
tomhrebWhitWaldo
andauthored
Preserve comparer of the original dictionary from ConfigurationProvider (#935)
Signed-off-by: Tomas Hrebicek <[email protected]> Co-authored-by: Whit Waldo <[email protected]>
1 parent 0b80c85 commit 80f0c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dapr.Extensions.Configuration/DaprConfigurationStoreProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private async Task LoadAsync()
8989
var subscribeConfigurationResponse = await daprClient.SubscribeConfiguration(store, keys, metadata, cts.Token);
9090
await foreach (var items in subscribeConfigurationResponse.Source.WithCancellation(cts.Token))
9191
{
92-
var data = new Dictionary<string, string>(Data);
92+
var data = new Dictionary<string, string>(Data, StringComparer.OrdinalIgnoreCase);
9393
foreach (var item in items)
9494
{
9595
id = subscribeConfigurationResponse.Id;

0 commit comments

Comments
 (0)