From a0e07d3644d2e4f51f521d4c0e867480aacc137e Mon Sep 17 00:00:00 2001 From: Jim Ladd Date: Wed, 20 Oct 2021 15:13:01 -0700 Subject: [PATCH] drop lines picked up during merge resolution --- awx/main/tasks.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index b15c125bb4..35b43d57d0 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -3098,9 +3098,6 @@ class AWXReceptorJob: receptor_ctl.simple_command(f"work release {self.unit_id}") except RuntimeError: logger.exception(f"Unable to release work item {self.unit_id} from {self.task.instance.log_format}") - # If an error occured without the job itself failing, it could be a broken instance - if self.work_type == 'ansible-runner' and ((res is None) or (getattr(res, 'rc', None) is None)): - execution_node_health_check.delay(self.task.instance.execution_node) @property def sign_work(self):