diff --git a/java/com.sap.sse.landscape.aws/src/com/sap/sse/landscape/aws/orchestration/CreateShard.java b/java/com.sap.sse.landscape.aws/src/com/sap/sse/landscape/aws/orchestration/CreateShard.java index 11c2f6371b2..edf5e43044e 100644 --- a/java/com.sap.sse.landscape.aws/src/com/sap/sse/landscape/aws/orchestration/CreateShard.java +++ b/java/com.sap.sse.landscape.aws/src/com/sap/sse/landscape/aws/orchestration/CreateShard.java @@ -111,8 +111,8 @@ public class CreateShard rules = loadBalancer.getRules(); @@ -142,13 +142,11 @@ public class CreateShard{ boolean ret = true; final Map, TargetHealth> healths = getLandscape() .getTargetHealthDescriptions(targetGroup); - if (healths.isEmpty() || healths.size() < minAutosclaingSize) { + if (healths.isEmpty() || healths.size() < minAutoscalingSize) { ret = false; // if there is no Aws in target } else { for (Map.Entry, TargetHealth> instance : healths.entrySet()) {