Skip to content

Commit

Permalink
Set login_error in relogin_forever failure cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Smith committed Jan 21, 2018
1 parent 2267375 commit ff121dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acitoolkit/acisession.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ def _send_login(self, timeout=None):
if not ret.ok:
if self.relogin_forever:
logging.error('Could not relogin to APIC. Relogin forever enabled...')
self.login_error = True
return ret
logging.error('Could not relogin to APIC. Aborting login thread.')
self.login_thread.exit()
Expand Down

0 comments on commit ff121dc

Please sign in to comment.