helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject helix git commit: Fix log argument order
Date Thu, 01 Nov 2018 00:28:08 GMT
Repository: helix
Updated Branches:
  refs/heads/master ceba1a55a -> 89f351558


Fix log argument order


Project: http://git-wip-us.apache.org/repos/asf/helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/89f35155
Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/89f35155
Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/89f35155

Branch: refs/heads/master
Commit: 89f351558734b4bb95019452e4c58d6befeed0dd
Parents: ceba1a5
Author: Junkai Xue <jxue@linkedin.com>
Authored: Tue Oct 9 11:41:08 2018 -0700
Committer: Junkai Xue <jxue@linkedin.com>
Committed: Wed Oct 31 17:28:04 2018 -0700

----------------------------------------------------------------------
 helix-core/src/main/java/org/apache/helix/task/TaskDriver.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/89f35155/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java b/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
index e675c86..27670e9 100644
--- a/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
+++ b/helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
@@ -420,8 +420,8 @@ public class TaskDriver {
         Set<String> allNodes = jobDag.getAllNodes();
         if (capacity > 0 && allNodes.size() + jobConfigs.size() >= capacity)
{
           throw new IllegalStateException(String
-              .format("Queue %s already reaches its max capacity %f, failed to add %s", capacity,
-                  queue, jobs.toString()));
+              .format("Queue %s already reaches its max capacity %f, failed to add %s", queue,
+                  capacity, jobs.toString()));
         }
 
         String lastNodeName = null;


Mime
View raw message