Skip to content

Commit 83b4730

Browse files
committed
camel case
1 parent a9d1637 commit 83b4730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aws/up.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ instanceName=luftballon
1111
checkSSH=~/.ssh/$publickey
1212

1313
checkKeyName() {
14-
key_pairs=($(aws ec2 describe-key-pairs --query "KeyPairs[*].KeyName" --output text))
14+
keyPairs=($(aws ec2 describe-key-pairs --query "KeyPairs[*].KeyName" --output text))
1515

16-
for key in "${key_pairs[@]}"
16+
for key in "${keyPairs[@]}"
1717
do
1818
if [ "$key" == "$keyname" ]; then
1919
echo "Error: Key Pair '$key' matches the specified keyName '$keyName'. Exiting..."

0 commit comments

Comments
 (0)