mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
fix copy paste error
This commit is contained in:
@@ -196,7 +196,7 @@ class InstanceGroupMembershipMixin(object):
|
|||||||
|
|
||||||
def unattach(self, request, *args, **kwargs):
|
def unattach(self, request, *args, **kwargs):
|
||||||
response = super(InstanceGroupMembershipMixin, self).unattach(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 status.is_success(response.status_code):
|
||||||
if self.parent_model is Instance:
|
if self.parent_model is Instance:
|
||||||
ig_obj = get_object_or_400(self.model, pk=sub_id)
|
ig_obj = get_object_or_400(self.model, pk=sub_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user