Skip to content

Commit

Permalink
Avoid logging void host information
Browse files Browse the repository at this point in the history
  • Loading branch information
berland authored and andreas-el committed Oct 3, 2024
1 parent 59eb4f3 commit 7c8fcc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/scheduler/lsf_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ async def _poll_once_by_bhist(

def update_and_log_exec_hosts(self, bjobs_exec_hosts: Dict[str, str]) -> None:
for job_id, exec_hosts in bjobs_exec_hosts.items():
if self._jobs[job_id].exec_hosts == "-":
if self._jobs[job_id].exec_hosts == "-" and exec_hosts != "-":
logger.info(
f"Realization {self._jobs[job_id].iens} was assigned to host: {exec_hosts}"
)
Expand Down

0 comments on commit 7c8fcc8

Please sign in to comment.