Browse Source

Print results.

Joe Clarke 1 năm trước cách đây
mục cha
commit
c8ba865ecb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      automation/services/dnac-hook.py

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

@@ -60,4 +60,4 @@ if __name__ == "__main__":
 
     message = f"{mt} Device **{j['details']['Device']}** has [issue]({j['ciscoDnaEventLink']}): {j['details']['Assurance Issue Details']}"
 
-    requests.post(DNAC_WEBHOOK, header=HEADERS, json={"message": message})
+    print(requests.post(DNAC_WEBHOOK, header=HEADERS, json={"message": message}))