Propose small spelling changes

This commit is contained in:
John Eismeier
2018-02-02 10:49:55 -05:00
parent 6163cc6b5c
commit 026cbeb018
4 changed files with 5 additions and 5 deletions

View File

@@ -2295,7 +2295,7 @@ class HostInsights(GenericAPIView):
except requests.exceptions.Timeout:
return (dict(error=_('Request to {} timed out.').format(url)), status.HTTP_504_GATEWAY_TIMEOUT)
except requests.exceptions.RequestException as e:
return (dict(error=_('Unkown exception {} while trying to GET {}').format(e, url)), status.HTTP_502_BAD_GATEWAY)
return (dict(error=_('Unknown exception {} while trying to GET {}').format(e, url)), status.HTTP_502_BAD_GATEWAY)
if res.status_code == 401:
return (dict(error=_('Unauthorized access. Please check your Insights Credential username and password.')), status.HTTP_502_BAD_GATEWAY)