Azure / Azure/azure-functions-host
Remove the hardcoded string used to create hostname for Linux dedicated
Open
Needs: Triage (Functions)
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
The code referenced her is not executed any more because WEBSITE_HOSTNAME is configured on linux dedicated. We should consider removing this code.
https://github.com/Azure/azure-functions-host/blob/6c23426d7de334e628212eba095002f7d8a78ffe/src/WebJobs.Script/HostNameProvider.cs#L45
Contributor guide
Research direction
Start in src/WebJobs.Script/HostNameProvider.cs at line 45 and inspect the hardcoded hostname creation path. Confirm that WEBSITE_HOSTNAME is configured for Linux dedicated and that this code is no longer executed; done means the obsolete code is removed without changing hostname behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100