typos exit-standby-all-chain-nodes.sh

This commit is contained in:
Maximilian Hubert 2025-02-01 16:30:37 +01:00 committed by GitHub
parent ac043ff438
commit ca04f0b346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ do
# Possible states: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html
case "$autoscaling_group_state" in
Standby)
# exit standby to make the node elgible for reciving
# exit standby to make the node eligible for reciving
# requests from the target groups for the public load balancer
autoscaling_group_name=$(aws autoscaling describe-auto-scaling-instances --instance-ids "$chain_node_instance_id" | jq -r '[.AutoScalingInstances | .[].AutoScalingGroupName] | join(" ")')
@ -19,7 +19,7 @@ do
--auto-scaling-group-name "$autoscaling_group_name"
;;
*)
echo "instance ($chain_node_instance_id) not in an elgible state ($autoscaling_group_state) for exiting standby, skipping"
echo "instance ($chain_node_instance_id) not in an eligible state ($autoscaling_group_state) for exiting standby, skipping"
;;
esac
done