mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Merge pull request #12947 from TheRealHaoLiu/fix-nit
Fix remove unnecessary comment
This commit is contained in:
@@ -47,7 +47,6 @@ class InstanceInstallBundle(GenericAPIView):
|
|||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
instance_obj = self.get_object()
|
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',):
|
if instance_obj.node_type not in ('execution',):
|
||||||
return Response(
|
return Response(
|
||||||
data=dict(msg=_('Install bundle can only be generated for execution nodes.')),
|
data=dict(msg=_('Install bundle can only be generated for execution nodes.')),
|
||||||
|
|||||||
Reference in New Issue
Block a user