From e66f9241a9605c35384e4abab9bb522beee37c4a Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Mon, 15 Apr 2019 15:30:56 -0400 Subject: [PATCH] Remove the platform_id from the call to _get_insights since it is now acquired within _get_insights. --- awx/api/views/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views/__init__.py b/awx/api/views/__init__.py index fbacad4112..ec49cfdb8c 100644 --- a/awx/api/views/__init__.py +++ b/awx/api/views/__init__.py @@ -1744,7 +1744,7 @@ class HostInsights(GenericAPIView): session = self._get_session(username, password) headers = self._get_headers() - data = self._get_insights(platform_id, session, headers) + data = self._get_insights(session, headers) return Response(data, status=status.HTTP_200_OK) def handle_exception(self, exc):