Skip to content

Commit

Permalink
updated gce_ssh.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 18, 2024
1 parent 3aab4c7 commit 087c0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcp/gce_ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ shift || :
zone="$(gcloud compute instances list --filter="name: $vm_name" --format='value(zone)')"

if [ -z "$zone" ]; then
die "Failed to determine zone for VM name '$vm_name' - perhaps VM name is incorrect or wrong region or project?"
die "Failed to determine zone for VM name '$vm_name' - perhaps VM name is incorrect or wrong project/region?"
fi

gcloud compute ssh "$vm_name" --zone "$zone" "$@"

0 comments on commit 087c0e3

Please sign in to comment.