We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d5d14 commit 508adf5Copy full SHA for 508adf5
runner/runner.py
@@ -16,10 +16,12 @@
16
import logging
17
import tempfile
18
import argparse
19
-import requests
20
import subprocess
21
+import requests
22
+
23
24
+# pylint: disable=W1510
25
logging.basicConfig(level=logging.INFO)
26
27
@@ -63,7 +65,7 @@ def execute_job(identifier, command):
63
65
)
64
66
requests.post(
67
f"http://{SCHEDULER_IP}:{SCHEDULER_PORT}/jobs/{identifier}/logs",
- files={"logfile": open(logfile.name, mode="rb")}
68
+ files={"logfile": open(logfile.name, mode="rb")}
69
70
if result.returncode == 0:
71
send_update(identifier, "DONE")
0 commit comments