浏览代码

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"