Skip to content

fix improper looping when no detections available.#14

Open
cyberpunkrooster wants to merge 1 commit intotrellix-enterprise:masterfrom
cyberpunkrooster:patch-1
Open

fix improper looping when no detections available.#14
cyberpunkrooster wants to merge 1 commit intotrellix-enterprise:masterfrom
cyberpunkrooster:patch-1

Conversation

@cyberpunkrooster
Copy link
Copy Markdown

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