Skip to content

Commit 7ccb91a

Browse files
committed
remove bad log + fix typo
1 parent 4b3d142 commit 7ccb91a

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

eng/ci/public-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ resources:
2828

2929
variables:
3030
- template: /eng/templates/utils/variables.yml@self
31-
- template: /eng/templates/utils/emulator-variables.yml@self
3231

3332
extends:
3433
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es

runtimes/v1/azure_functions_runtime_v1/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def validate_function_params(params: dict, bound_params: dict,
135135
raise FunctionLoadError(
136136
func_name,
137137
'the following parameters are declared in function.json but '
138-
'not in Python: ' + repr(set(params) - set(bound_params)))
138+
'not in Python: ' + repr(set(bound_params) - set(params)))
139139

140140
input_types: typing.Dict[str, ParamTypeInfo] = {}
141141
output_types: typing.Dict[str, ParamTypeInfo] = {}

runtimes/v2/azure_functions_runtime/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def validate_function_params(params: dict, bound_params: dict,
160160
func_name,
161161
'Extra parameters in binding definition — the following parameters '
162162
'are declared as bindings but are not '
163-
'present in Python: ' + repr(set(params) - set(bound_params)))
163+
'present in Python: ' + repr(set(bound_params) - set(params)))
164164

165165
input_types: typing.Dict[str, ParamTypeInfo] = {}
166166
output_types: typing.Dict[str, ParamTypeInfo] = {}

workers/azure_functions_worker/utils/dependency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def _remove_module_cache(path: str):
405405
if any([p for p in module_paths if p.startswith(path)]):
406406
sys.modules.pop(module_name)
407407
except Exception as e:
408-
logger.warning(
408+
logger.debug(
409409
'Attempt to remove module cache for %s but failed with '
410410
'%s. Using the original module cache.',
411411
module_name, e)

workers/proxy_worker/utils/dependency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def _remove_module_cache(path: str):
302302
if any([p for p in module_paths if p.startswith(path)]):
303303
sys.modules.pop(module_name)
304304
except Exception as e:
305-
logger.warning(
305+
logger.debug(
306306
'Attempt to remove module cache for %s but failed with '
307307
'%s. Using the original module cache.',
308308
module_name, e)

0 commit comments

Comments
 (0)