Skip to content

Commit a69f01a

Browse files
committed
lint
1 parent 2921117 commit a69f01a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

azure_functions_worker/constants.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888

8989
# Appsetting to turn on ApplicationInsights support/features
9090
# A value of "true" enables the setting, defaults to "false"
91-
PYTHON_APPLICATIONINSIGHTS_ENABLE_TELEMETRY = "PYTHON_APPLICATIONINSIGHTS_ENABLE_TELEMETRY"
91+
PYTHON_APPLICATIONINSIGHTS_ENABLE_TELEMETRY = \
92+
"PYTHON_APPLICATIONINSIGHTS_ENABLE_TELEMETRY"
9293
PYTHON_APPLICATIONINSIGHTS_ENABLE_TELEMETRY_DEFAULT = "false"
9394

9495
# Appsetting to specify root logger name of logger to collect telemetry for

azure_functions_worker/dispatcher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ async def _handle__worker_init_request(self, request):
397397
)
398398
if appinsights_app_setting and appinsights_app_setting.lower() == "true":
399399
self.initialize_azure_monitor()
400-
400+
401401
if opentelemetry_app_setting and opentelemetry_app_setting.lower() == "true":
402402
self._otel_libs_available = True
403403

0 commit comments

Comments
 (0)