1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

Remove the platform_id from the call to _get_insights

since it is now acquired within _get_insights.
This commit is contained in:
Jeff Bradberry 2019-04-15 15:30:56 -04:00
parent 72da961550
commit e66f9241a9

View File

@ -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):