mirror of
https://github.com/clearml/clearml-agent
synced 2025-03-03 10:42:05 +00:00
Fix status message check containing "worker" (deprecated test)
This commit is contained in:
parent
799b292146
commit
860ff8911c
@ -263,7 +263,7 @@ class TaskStopSignal(object):
|
|||||||
)
|
)
|
||||||
return TaskStopReason.stopped
|
return TaskStopReason.stopped
|
||||||
|
|
||||||
if status in self.unexpected_statuses and "worker" not in message:
|
if status in self.unexpected_statuses: ## and "worker" not in message:
|
||||||
self.command.log("unexpected status change, task will terminate")
|
self.command.log("unexpected status change, task will terminate")
|
||||||
return TaskStopReason.status_changed
|
return TaskStopReason.status_changed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user