Skip to content

Commit 114f7c5

Browse files
committed
Correct not-scaling-in log message
Previously this message said an executor was not being shut down when it is in a bad state. This `if` statement is actually about scaling in the executors blocks. Shutdown always happens, a few lines later.
1 parent 953e818 commit 114f7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsl/dataflow/dflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ def cleanup(self) -> None:
12381238
logger.debug("Sending message {} to hub from DFK".format(msg))
12391239
self.monitoring.send(MessageType.BLOCK_INFO, msg)
12401240
else: # and bad_state_is_set
1241-
logger.warning(f"Not shutting down executor {executor.label} because it is in bad state")
1241+
logger.warning(f"Not scaling in executor {executor.label} because it is in bad state")
12421242
logger.info(f"Shutting down executor {executor.label}")
12431243
executor.shutdown()
12441244
logger.info(f"Shut down executor {executor.label}")

0 commit comments

Comments
 (0)