Fix nit re: copy/paste comment

This commit is contained in:
Alex Kavanagh
2019-11-21 13:04:14 +00:00
parent 1b5613ac00
commit 4ac88e92bb

View File

@@ -148,8 +148,6 @@ def _login(dashboard_ip, domain, username, password):
if expect not in response.text:
msg = 'FAILURE code={} text="{}"'.format(response,
response.text)
# NOTE(thedac) amulet.raise_status exits on exception.
# Raise a custom exception.
logging.info("Yeah, wen't wrong: {}".format(msg))
raise FailedAuth(msg)
logging.info("Logged into okay")