mirror of
https://github.com/ansible/awx.git
synced 2026-07-31 01:49:56 -02:30
make sure existing project cache id is used when available
This commit is contained in:
@@ -639,7 +639,7 @@ class ProjectUpdate(UnifiedJob, ProjectOptions, JobNotificationMixin, TaskManage
|
||||
|
||||
@property
|
||||
def cache_id(self):
|
||||
if self.branch_override or self.job_type == 'check' or (not self.project):
|
||||
if self.branch_override or (not self.project):
|
||||
return str(self.id) # causes it to not use the cache, basically
|
||||
return self.project.cache_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user