mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
fix a typo causing tests to fail
This commit is contained in:
parent
754f698b9b
commit
1ba71acf07
@ -1307,7 +1307,7 @@ class JobTemplateAccess(BaseAccess):
|
||||
def can_unattach(self, obj, sub_obj, relationship, *args, **kwargs):
|
||||
if relationship == "instance_groups":
|
||||
return self.can_attach(obj, sub_obj, relationship, *args, **kwargs)
|
||||
return super(InventoryAccess, self).can_attach(obj, sub_obj, relationship, *args, **kwargs)
|
||||
return super(JobTemplateAccess, self).can_attach(obj, sub_obj, relationship, *args, **kwargs)
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user