Skip to content

Commit

Permalink
fix the function name
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroTochigi committed Aug 1, 2024
1 parent 18bcd11 commit 4fc81d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function up {

storeConfigIntoTreehousesConfigAsStringfiedJson $instanceName $importedKeyName $instanceId $publicIp $groupNameaws ec2 create-tags --resources $instanceId --tags Key=Class,Value=treehouses
else
instanceState=$(check_instance_state $instanceId)
instanceState=$(checkInstanceState $instanceId)
if [ "$instanceState" = "running" ]; then
echo "EC2 instance is already running."
elif [ "$instanceState" = "stopped" ]; then
Expand Down

0 comments on commit 4fc81d6

Please sign in to comment.