From dc4186afb7fe0379af64b0613f24af3aced42f68 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 19 Dec 2011 01:52:42 -0800 Subject: [PATCH] typos --- .../ec2/compute/strategy/EC2CreateNodesInGroupThenAddToSet.java | 2 +- .../aws/ec2/compute/strategy/AWSEC2DestroyNodeStrategy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/ec2/src/main/java/org/jclouds/ec2/compute/strategy/EC2CreateNodesInGroupThenAddToSet.java b/apis/ec2/src/main/java/org/jclouds/ec2/compute/strategy/EC2CreateNodesInGroupThenAddToSet.java index 9f79dc2e54..3737809975 100644 --- a/apis/ec2/src/main/java/org/jclouds/ec2/compute/strategy/EC2CreateNodesInGroupThenAddToSet.java +++ b/apis/ec2/src/main/java/org/jclouds/ec2/compute/strategy/EC2CreateNodesInGroupThenAddToSet.java @@ -198,7 +198,7 @@ public class EC2CreateNodesInGroupThenAddToSet implements CreateNodesInGroupThen // block until instance is running logger.debug(">> awaiting status running instance(%s)", coordinates); nodeRunning.apply(runningInstanceToNodeMetadata.apply(startedInstance)); - logger.debug("<< running instance(%s)", coordinates); + logger.trace("<< running instance(%s)", coordinates); logger.debug(">> associating elastic IP %s to instance %s", ip, coordinates); client.getElasticIPAddressServices().associateAddressInRegion(region, ip, id); logger.trace("<< associated elastic IP %s to instance %s", ip, coordinates); diff --git a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2DestroyNodeStrategy.java b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2DestroyNodeStrategy.java index deceb26826..9208d39131 100644 --- a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2DestroyNodeStrategy.java +++ b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/strategy/AWSEC2DestroyNodeStrategy.java @@ -67,7 +67,7 @@ public class AWSEC2DestroyNodeStrategy extends EC2DestroyNodeStrategy { credentialStore.remove("node#" + region + "/" + spotId); } catch (NoSuchElementException e) { } - super.destroyInstanceInRegion(region, id); + super.destroyInstanceInRegion(id, region); } else { client.getSpotInstanceServices().cancelSpotInstanceRequestsInRegion(region, spotId); credentialStore.remove("node#" + region + "/" + id);