mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Merge pull request #12947 from TheRealHaoLiu/fix-nit
Fix remove unnecessary comment
This commit is contained in:
commit
790998335c
@ -47,7 +47,6 @@ class InstanceInstallBundle(GenericAPIView):
|
||||
def get(self, request, *args, **kwargs):
|
||||
instance_obj = self.get_object()
|
||||
|
||||
# if the instance is not a hop or execution node than return 400
|
||||
if instance_obj.node_type not in ('execution',):
|
||||
return Response(
|
||||
data=dict(msg=_('Install bundle can only be generated for execution nodes.')),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user