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

Fix a typo in the per-system remediations api call

This commit is contained in:
Jeff Bradberry 2019-04-15 13:33:52 -04:00
parent 80a855c57a
commit 4c86c5065c

View File

@ -1697,7 +1697,7 @@ class HostInsights(GenericAPIView):
return self._call_insights_api(url, session, headers)
def _get_remediations(self, platform_id, session, headers):
url = '{}/api/remediations/v1/?system={}'.format(
url = '{}/api/remediations/v1/remediations?system={}'.format(
settings.INSIGHTS_URL_BASE, platform_id)
remediations = []