mirror of https://github.com/apache/druid.git
Fix missing log arguments in PendingTaskBasedWorkerResourceManagementStrategy (#2898)
This commit is contained in:
parent
67b47c982f
commit
3f71a4a302
|
@ -211,7 +211,7 @@ public class PendingTaskBasedWorkerResourceManagementStrategy extends AbstractWo
|
|||
);
|
||||
|
||||
if (want > 0 && currValidWorkers >= maxWorkerCount) {
|
||||
log.warn("Unable to provision more workers. Current workerCount[%d] maximum workerCount[%d].");
|
||||
log.warn("Unable to provision more workers. Current workerCount[%d] maximum workerCount[%d].", currValidWorkers, maxWorkerCount);
|
||||
return 0;
|
||||
}
|
||||
want = Math.min(want, maxWorkerCount - currValidWorkers);
|
||||
|
|
Loading…
Reference in New Issue