Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes
Browse files Browse the repository at this point in the history
ahegdeNR committed Jan 10, 2025
1 parent 4d7dd4a commit fa23b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/common-scripts.sh
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ create_cloudwatch_log_event() {
# Check if the log stream exists
log_stream_exists=$(aws logs describe-log-streams --log-group-name "$log_group_name" --log-stream-name-prefix "$log_stream_name" --query "logStreams[?logStreamName=='$log_stream_name'] | length(@)" --output text)

if [ "$log_stream_exists" -eq 0 ]; then
if [ $log_stream_exists -eq 0 ]; then
aws logs create-log-stream --log-group-name "$log_group_name" --log-stream-name "$log_stream_name"
else
exit_with_error "Cloudwatch log stream: $log_stream_name in group: $log_group_name doesn't exist"

0 comments on commit fa23b80

Please sign in to comment.