Skip to content

Commit

Permalink
fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroTochigi committed Jul 20, 2024
1 parent e44898b commit 34a17bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws/dependencies/utilitiyFunction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function makePortArray {
echo "${portArray[@]}"
}

functrion getState(){
function getState(){
local instanceId=$1
local state=$(aws ec2 describe-instances --instance-ids $instanceId | jq '.Reservations[].Instances[].State.Name')
echo $state
Expand Down

0 comments on commit 34a17bf

Please sign in to comment.