Skip to content

Commit

Permalink
fixed region for extra757 and extra758
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni de la Fuente committed Oct 13, 2019
1 parent fc77b4a commit 40a2ea6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions checks/check_extra757
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ extra757(){
do
EC2_ID=$(echo "$ec2_instace" | awk '{print $1}')
LAUNCH_DATE=$(echo "$ec2_instace" | awk '{print $2}')
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE"
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" "$regx"
done <<< "$INSTACES_OLD_THAN_AGE"
else
textPass "All Instances newer than 6 months"
textPass "$regx: All Instances newer than 6 months" "$regx"
fi
else
textInfo "No EC2 Instances Found"
textInfo "$regx: No EC2 Instances Found" "$regx"
fi
done
}
6 changes: 3 additions & 3 deletions checks/check_extra758
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ extra758(){
do
EC2_ID=$(echo "$ec2_instace" | awk '{print $1}')
LAUNCH_DATE=$(echo "$ec2_instace" | awk '{print $2}')
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE"
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" "$regx"
done <<< "$INSTACES_OLD_THAN_AGE"
else
textPass "All Instances newer than 12 months"
textPass "$regx: All Instances newer than 12 months" "$regx"
fi
else
textInfo "No EC2 Instances Found"
textInfo "$regx: No EC2 Instances Found" "$regx"
fi
done
}

0 comments on commit 40a2ea6

Please sign in to comment.