Skip to content

Commit 1ce803d

Browse files
nits
1 parent 0c72aab commit 1ce803d

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

components/job-orchestration/job_orchestration/executor/compress/compression_task.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,6 @@ def cleanup_temporary_files():
559559
finally:
560560
cleanup_temporary_files()
561561
stderr_log_file.close()
562-
# Dump the stderr log so it's visible in container logs
563562
if stderr_log_path.stat().st_size > 0:
564563
logger.error(
565564
f"Contents of {stderr_log_path.name}:\n"

components/job-orchestration/job_orchestration/executor/query/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ def sigterm_handler(_signo, _stack_frame):
8888
# stdout/stderr.
8989
stdout_data, _ = task_proc.communicate()
9090
return_code = task_proc.returncode
91-
9291
if 0 != return_code:
9392
task_status = QueryTaskStatus.FAILED
9493
logger.error(
@@ -99,7 +98,6 @@ def sigterm_handler(_signo, _stack_frame):
9998
logger.info(f"{task_name} task {task_id} completed for job {job_id}")
10099

101100
clo_log_file.close()
102-
# Dump the stderr log so it's visible in container logs
103101
if clo_log_path.stat().st_size > 0:
104102
logger.error(
105103
f"Contents of {clo_log_path.name}:\n"

0 commit comments

Comments
 (0)