From 0bbce646ba03e903a6f59372d0f83034e679bb4e Mon Sep 17 00:00:00 2001 From: Richard Killen Date: Thu, 30 Jun 2022 15:00:05 -0500 Subject: [PATCH] Update WKO domain.yaml even when there is no kubernetes section in the model --- .../python/wlsdeploy/tool/util/targets/output_file_helper.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/python/wlsdeploy/tool/util/targets/output_file_helper.py b/core/src/main/python/wlsdeploy/tool/util/targets/output_file_helper.py index 899622bc9b..abb9a711b7 100644 --- a/core/src/main/python/wlsdeploy/tool/util/targets/output_file_helper.py +++ b/core/src/main/python/wlsdeploy/tool/util/targets/output_file_helper.py @@ -50,10 +50,7 @@ def update_from_model(output_dir, output_file_name, model): """ _method_name = 'update_from_model' - # if model doesn't have kubernetes section, return kubernetes_content = model.get_model_kubernetes() - if not kubernetes_content: - return # failures will be logged as severe, but not cause tool failure. # this will allow the unaltered output file to be examined for problems.