소스 검색

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"