File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
localstack-core/localstack/services/lambda_/invocation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def handle_message(self, message: dict) -> None:
209209 function_config = self .version_manager .function_version .config
210210 function_counter .labels (
211211 operation = FunctionOperation .invoke ,
212- runtime = function_config .runtime ,
212+ runtime = function_config .runtime or "n/a" ,
213213 status = FunctionStatus .success ,
214214 invocation_type = InvocationType .Event ,
215215 package_type = function_config .package_type ,
@@ -244,7 +244,7 @@ def handle_message(self, message: dict) -> None:
244244 package_type = self .version_manager .function_version .config .package_type
245245 function_counter .labels (
246246 operation = FunctionOperation .invoke ,
247- runtime = runtime ,
247+ runtime = runtime or "n/a" ,
248248 status = status ,
249249 invocation_type = InvocationType .Event ,
250250 package_type = package_type ,
You can’t perform that action at this time.
0 commit comments