Closed gavin-aguiar closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 31.57%. Comparing base (
6a50c07
) to head (6c668dd
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This fixes a bug introduced in https://github.com/Azure/azure-functions-python-worker/pull/1446.
For function apps using FWPC > 1 and using blueprints, the second worker does not get the metadata request. In the load request, the worker uses the function directory sent from the host. This works for functions apps without blueprints since the func dir is always /home/site/wwwroot. For blueprints, the function dir is /home/site/wwwroot/. So in the load request, the worker tries to find function_app.py in /home/site/wwwroot/ and it fails indexing.
Fix is to always use /home/site/wwwroot for v2 programming model
Fixes #
PR information
Quality of Code and Contribution Guidelines