Merge pull request #12947 from TheRealHaoLiu/fix-nit

Fix remove unnecessary comment
This commit is contained in:
Hao Liu 2022-09-26 09:29:43 -04:00 committed by GitHub
commit 790998335c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.')),