Skip to content

fix attribute error is raised when query ran for future time - #2858

Open
Swapnil811 wants to merge 1 commit into
YelpArchive:masterfrom
Swapnil811:bug_in_elastalert
Open

Swapnil811 wants to merge 1 commit into
YelpArchive:masterfrom
Swapnil811:bug_in_elastalert

Conversation

@Swapnil811

Copy link
Copy Markdown

when time is in future we simply return 0 , attributes - num_hits, num_dupes, cumulative_hits remains uninitialised which are used for logging info about the query and hence attribute error is raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants