From 2da3a54e29c44e9ac3d8976985ce8a096956d03a Mon Sep 17 00:00:00 2001 From: Lester Wade Date: Sat, 26 Jan 2013 11:26:51 +0000 Subject: [PATCH] Update library/ec2 updated indentation and redundant comment. --- library/ec2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/ec2 b/library/ec2 index 1fd7b098ddc..03d1cbc6ffa 100644 --- a/library/ec2 +++ b/library/ec2 @@ -155,9 +155,8 @@ def main(): else: # otherwise it's Amazon. ec2 = boto.connect_ec2(ec2_access_key, ec2_secret_key) -# Note min_count is static in value. Since we aren't interested in addressing an autoscaling use-case. -# Autoscaling means more instances are launched on a triggered event, so this is post-play/run stuff. - + # Both min_count and max_count equal count parameter. This means the launch request is explicit (we want count, or fail) in how many instances we want. + try: res = ec2.run_instances(image, key_name = key_name, min_count = count, max_count = count,