fix: uplod to ftest host
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-09-28 22:39:32 +05:30
parent e2ddad2a24
commit cb00c56263
Signed by: realaravinth
GPG key ID: F8F50389936984FF

2
run.py
View file

@ -150,7 +150,7 @@ def upload_logs_to_ftest(success: bool, logs: str):
payload = {"success": success, "logs": logs} payload = {"success": success, "logs": logs}
res = requests.post( res = requests.post(
FTEST_HOST, json=payload, headers={"Origin": "http://example.org"} ftest, json=payload, headers={"Origin": "http://example.org"}
) )
if res.status_code == 200: if res.status_code == 200:
logger.info("Upload successful") logger.info("Upload successful")