From 0b06fe589d2ee165443ab237b96f704d4e88beb2 Mon Sep 17 00:00:00 2001 From: "Christian R. Garcia" <christian.g21@gmail.com> Date: Fri, 22 Nov 2024 12:48:01 -0800 Subject: [PATCH] update --- service/models_templates_tags.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/service/models_templates_tags.py b/service/models_templates_tags.py index 310ed30..c05015f 100644 --- a/service/models_templates_tags.py +++ b/service/models_templates_tags.py @@ -496,7 +496,14 @@ def combine_pod_and_template_recursively(input_obj, template_name, seen_template if input_obj.resources: input_obj.resources = input_obj.resources.dict() except Exception as e: - logger.debug(f'this part: Got exception when attempting to combine pod and templates: {e}') + logger.debug(f'this resources part: Got exception when attempting to combine pod and templates: {e}') + pass + + try: + if input_obj.networking: + input_obj.networking = input_obj.networking.dict() + except Exception as e: + logger.debug(f'this networking part: Got exception when attempting to combine pod and templates: {e}') pass except Exception as e: