Skip to content

Commit

Permalink
Merge pull request ansible#12947 from TheRealHaoLiu/fix-nit
Browse files Browse the repository at this point in the history
Fix remove unnecessary comment
  • Loading branch information
TheRealHaoLiu authored Sep 26, 2022
2 parents c53228d + 3ad7913 commit 7909983
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion awx/api/views/instance_install_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')),
Expand Down

0 comments on commit 7909983

Please sign in to comment.