You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2014/01/13 15:43:27 UTC
git commit: Fixing misleading log
Updated Branches:
refs/heads/master e18ef025c -> 0535873d6
Fixing misleading log
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/0535873d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/0535873d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/0535873d
Branch: refs/heads/master
Commit: 0535873d6d21c5c87b30332c719c4cd76358c6b7
Parents: e18ef02
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Mon Jan 13 20:18:03 2014 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Mon Jan 13 20:18:03 2014 +0530
----------------------------------------------------------------------
.../org/apache/stratos/autoscaler/algorithm/OneAfterAnother.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0535873d/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/algorithm/OneAfterAnother.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/algorithm/OneAfterAnother.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/algorithm/OneAfterAnother.java
index 985814e..7d7e25c 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/algorithm/OneAfterAnother.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/algorithm/OneAfterAnother.java
@@ -63,7 +63,7 @@ public class OneAfterAnother implements AutoscaleAlgorithm {
if (networkPartitionContext.getMemberCountOfPartition(currentPartitionId) < currentPartition.getPartitionMax()) {
// current partition is free
if (log.isDebugEnabled())
- log.debug(String.format("A free space found for scale down in partition %s [current] %s [max] %s",
+ log.debug(String.format("A free space found for scale up in partition %s [current] %s [max] %s",
currentPartitionId, networkPartitionContext.getMemberCountOfPartition(currentPartitionId),
currentPartition.getPartitionMax())) ;
return currentPartition;