Skip to content

Commit

Permalink
Preserve comparer of the original dictionary from ConfigurationProvid…
Browse files Browse the repository at this point in the history
…er (dapr#935)

Signed-off-by: Tomas Hrebicek <tomhreb@users.noreply.github.com>
Co-authored-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Divya Perumal <divzi.perumal@gmail.com>
  • Loading branch information
2 people authored and divzi-p committed Dec 10, 2024
1 parent be460e4 commit 132d072
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,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 132d072

Please sign in to comment.