Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix improper looping when no detections available. #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cyberpunkrooster
Copy link

An issue was observed in my lab environment where if no detections were available, get_threats would immediately loop, and not recognise the retry interval. Adding this line now allows the loop in get_threats to finish successfully, and the while loop at the end of the script to be reached, and the retry interval to be respected. This seems to have fixed the issue in my lab, so thought a PR might help. Thanks!

Line added to allow loop to finish successfully and prevent loop from immediately repeating and bypassing the retry interval.
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