Browse Source

Acually exit if we get an event.

Joe Clarke 1 year ago
parent
commit
d69c4a36a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      automation/services/dnac-hook.py

+ 1 - 0
automation/services/dnac-hook.py

@@ -57,6 +57,7 @@ if __name__ == "__main__":
     # seen_issues[det["issueId"]] = det["issueMessage"]
     if "Assurance Issue Status" not in j["details"]:
         print("{}")
+        exit(0)
 
     mt = MessageType(MessageType.WARNING)
     verb = "has an"