Skip to content

Commit

Permalink
Revert removal of ToLower. It resulted in the overrides not applying.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmathew committed Apr 3, 2024
1 parent 0e3c5aa commit 564f652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AwsSecretsConfigurationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public override bool TryGet(string key, out string? value)
}

// Convert to a format that ASPnet configuration can understand.
// The keys must be lowercase, otherwise the override will not be applied.
var corrected = overrides.ToDictionary(kv => kv.Key.Replace("__", ":").ToLower(), kv => kv.Value);

return corrected;
Expand Down

0 comments on commit 564f652

Please sign in to comment.