Skip to content

Commit 8e0e234

Browse files
author
James Beal
committed
LSF jobs with multiple slots display each hostname ':' separated
1 parent 1decdf2 commit 8e0e234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batchspawner/batchspawner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ def state_isrunning(self):
980980

981981
def state_gethost(self):
982982
if self.job_status:
983-
return self.job_status.split(" ")[1].strip()
983+
return self.job_status.split(" ")[1].strip().split(":")[0]
984984

985985
self.log.error(
986986
"Spawner unable to match host addr in job {0} with status {1}".format(

0 commit comments

Comments
 (0)