Fix missing log arguments in PendingTaskBasedWorkerResourceManagementStrategy (#2898)

This commit is contained in:
Charles Allen 2016-04-28 18:15:41 -07:00 committed by Fangjin Yang
parent 67b47c982f
commit 3f71a4a302
1 changed files with 1 additions and 1 deletions

View File

@ -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);