Skip to content

Commit

Permalink
more accurate error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrgl committed Jan 6, 2024
1 parent 4f18307 commit 190994a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/utils/kubernetes/ssh_jump_lifecycle_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def reload_keys():
sys.stdout.write('[SSH Key Reloader] No keys changed, continuing.\n')
except subprocess.CalledProcessError as e:
if e.returncode == 1:
sys.stdout.write('[SSH Key Reloader] Keys changed, reloading.\n')
sys.stdout.write('[SSH Key Reloader] Changes detected, reloading.\n')
subprocess.check_output(f'mv {tmpfile} ~/.ssh/authorized_keys', shell=True)
else:
raise
Expand Down

0 comments on commit 190994a

Please sign in to comment.