mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
fix copy paste error
This commit is contained in:
parent
aeca21ab5b
commit
2ffc4b256d
@ -196,7 +196,7 @@ class InstanceGroupMembershipMixin(object):
|
||||
|
||||
def unattach(self, request, *args, **kwargs):
|
||||
response = super(InstanceGroupMembershipMixin, self).unattach(request, *args, **kwargs)
|
||||
sub_id, res = self.attach_validate(request)
|
||||
sub_id, res = self.unattach_validate(request)
|
||||
if status.is_success(response.status_code):
|
||||
if self.parent_model is Instance:
|
||||
ig_obj = get_object_or_400(self.model, pk=sub_id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user