Skip to content

Commit

Permalink
Update dpdispatcher/contexts/ssh_context.py
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Nov 27, 2024
1 parent deeef8f commit 5c980e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpdispatcher/contexts/ssh_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
# count = 1
# while not self._check_alive():
# if count == max_check:
# raise RuntimeError('cannot connect ssh after %s failures at interval %s s' %
# raise RuntimeError('cannot connect ssh after %d failures at interval %d s' %
# (max_check, sleep_time))
# dlog.info('connection check failed, try to reconnect to ' + self.remote_host)
# self._setup_ssh(hostname=self.remote_host,
Expand Down

0 comments on commit 5c980e5

Please sign in to comment.