mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 05:45:02 -02:30
Remove the platform_id from the call to _get_insights
since it is now acquired within _get_insights.
This commit is contained in:
@@ -1744,7 +1744,7 @@ class HostInsights(GenericAPIView):
|
|||||||
session = self._get_session(username, password)
|
session = self._get_session(username, password)
|
||||||
headers = self._get_headers()
|
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)
|
return Response(data, status=status.HTTP_200_OK)
|
||||||
|
|
||||||
def handle_exception(self, exc):
|
def handle_exception(self, exc):
|
||||||
|
|||||||
Reference in New Issue
Block a user