Преглед на файлове

Acually exit if we get an event.

Joe Clarke преди 1 година
родител
ревизия
d69c4a36a3
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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"