Skip to content

Commit

Permalink
preserve comparer of the original dictionary
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Hrebicek <[email protected]>
  • Loading branch information
tomhreb committed Aug 23, 2022
1 parent e6ded69 commit c369111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private async Task LoadAsync()
var subscribeConfigurationResponse = await daprClient.SubscribeConfiguration(store, keys, metadata, cts.Token);
await foreach (var items in subscribeConfigurationResponse.Source.WithCancellation(cts.Token))
{
var data = new Dictionary<string, string>(Data);
var data = new Dictionary<string, string>(Data, StringComparer.OrdinalIgnoreCase);
foreach (var item in items)
{
id = subscribeConfigurationResponse.Id;
Expand Down

0 comments on commit c369111

Please sign in to comment.