Azure / Azure/azure-functions-host

Update ScriptEnvironmentVariablesConfigurationSource to do case in-sensitive look up

Open
#3,111 5 comments 0 reactions 1 assignee Assigned to @fabiocav View on GitHub
breaking-change bug platform:linux
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

TryGet method at [ScriptEnvironmentVariablesConfigurationSource.cs#L30](https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Config/ScriptEnvironmentVariablesConfigurationSource.cs#L30)
uses
Environment.GetEnvironmentVariable(key) - This works on windows and the key name is not case-sensitive but it fails on Linux if case does not match

This affects CLI as debug options to the language Workers are passed as environment variables

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.