Procházet zdrojové kódy

Acually exit if we get an event.

Joe Clarke před 1 rokem
rodič
revize
d69c4a36a3
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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"