From 4221d6292a96112b1cd9c1253bd9cc00f4fce25d Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 4 Jul 2011 22:03:55 -0700 Subject: [PATCH] Issue 608:Starting a node with a location-id specifying an ec2 availability zone fails --- .../compute/strategy/AWSEC2CreateNodesInGroupThenAddToSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2CreateNodesInGroupThenAddToSet.java b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2CreateNodesInGroupThenAddToSet.java index df07554667..28a6ca4a53 100644 --- a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2CreateNodesInGroupThenAddToSet.java +++ b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2CreateNodesInGroupThenAddToSet.java @@ -96,7 +96,7 @@ public class AWSEC2CreateNodesInGroupThenAddToSet extends EC2CreateNodesInGroupT return Iterables.transform(client.getSpotInstanceServices().requestSpotInstancesInRegion(region, spotPrice, count, spec, options), spotConverter); } else { - return super.createNodesInRegionAndZone(zone, zone, count, template, instanceOptions); + return super.createNodesInRegionAndZone(region, zone, count, template, instanceOptions); } }