Fix incorrect ordering of args in log statement (#15846)

This commit is contained in:
Sam Wheating 2024-02-06 16:12:04 -08:00 committed by GitHub
parent 1affa35b29
commit 4c58856f10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -709,8 +709,8 @@ public class HttpRemoteTaskRunner implements WorkerTaskRunner, TaskLogStreamer
if (!taskItem.getResult().isDone()) {
log.warn(
"Failing task[%s] because worker[%s] disappeared and did not report within cleanup timeout[%s].",
workerHostAndPort,
taskItem.getTaskId(),
workerHostAndPort,
config.getTaskCleanupTimeout()
);
// taskComplete(..) must be called outside of statusLock, see comments on method.