mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-03-04 00:35:26 +00:00
typos exit-standby-all-chain-nodes.sh
This commit is contained in:
parent
ac043ff438
commit
ca04f0b346
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user