Skip to content

Commit

Permalink
updated ssh_dump_logs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Oct 15, 2024
1 parent 3a43861 commit 067cc44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitoring/ssh_dump_logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ for user_server in "$@"; do
scp ${SSH_KEY:+-i "$SSH_KEY"} ${user:+"$user@"}"$server":"./$log_file" .
timestamp "Dumped server '$server' log to file: $log_file" ||
warn "Failed to get '$server' log: $log"
# XXX: because race condition - spot instances can go away during execution
# and we still want to collect the rest of the servers
# XXX: because race condition - AWS EC2 Spot instances or GCP Preemptible instances can go away
# during execution and we still want to collect the rest of the servers without erroring out completely
done
done
echo
Expand Down

0 comments on commit 067cc44

Please sign in to comment.