mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 19:20:05 -03:30
Move cache_timeout_blocked to the job template where it belong from the
job model
This commit is contained in:
@@ -287,6 +287,9 @@ class JobTemplate(UnifiedJobTemplate, JobOptions):
|
|||||||
survey_element['choices']))
|
survey_element['choices']))
|
||||||
return errors
|
return errors
|
||||||
|
|
||||||
|
@property
|
||||||
|
def cache_timeout_blocked(self):
|
||||||
|
return False
|
||||||
|
|
||||||
def _can_update(self):
|
def _can_update(self):
|
||||||
return self.can_start_without_user_input()
|
return self.can_start_without_user_input()
|
||||||
@@ -370,10 +373,6 @@ class Job(UnifiedJob, JobOptions):
|
|||||||
return False
|
return False
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@property
|
|
||||||
def cache_timeout_blocked(self):
|
|
||||||
return False
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def task_impact(self):
|
def task_impact(self):
|
||||||
# NOTE: We sorta have to assume the host count matches and that forks default to 5
|
# NOTE: We sorta have to assume the host count matches and that forks default to 5
|
||||||
|
|||||||
Reference in New Issue
Block a user