mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
fix class method
This commit is contained in:
parent
bf3c68d8b4
commit
c35c2d9331
@ -175,7 +175,7 @@ class WorkflowJobInheritNodesMixin(object):
|
||||
def _get_workflow_job_node_by_id(self, id):
|
||||
return WorkflowJobNode.objects.get(id=id)
|
||||
|
||||
def _get_all_by_type(node, node_type):
|
||||
def _get_all_by_type(self, node, node_type):
|
||||
return getattr(node, node_type).all()
|
||||
|
||||
def inherit_job_template_workflow_nodes(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user