Skip to content

Commit

Permalink
fix over-quoting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSecure committed Oct 21, 2019
1 parent 2c531a2 commit e683ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/check_extra762
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extra762(){
textInfo "Looking for deprecated runtimes used by Lambda functions across all regions... "
textInfo "This check may take a while depending on the number of functions. "
for regx in $REGIONS; do
LIST_OF_FUNCTIONS=$($AWSCLI lambda list-functions "$PROFILE_OPT" --region "$regx" --output text --query 'Functions[*].{R:Runtime,N:FunctionName}' | tr "\t" "%")
LIST_OF_FUNCTIONS=$($AWSCLI lambda list-functions $PROFILE_OPT --region $regx --output text --query 'Functions[*].{R:Runtime,N:FunctionName}' | tr "\t" "%")
if [[ $LIST_OF_FUNCTIONS ]]; then
for lambdafunction in $LIST_OF_FUNCTIONS;do
fname=$(echo "$lambdafunction" | cut -d'%' -f1)
Expand Down

0 comments on commit e683ea5

Please sign in to comment.