summaryrefslogtreecommitdiff
path: root/boto/ec2/autoscale/launchconfig.py
diff options
context:
space:
mode:
authorrlotun <rlotun@gmail.com>2010-12-22 15:33:40 +0000
committerrlotun <rlotun@gmail.com>2010-12-22 15:33:40 +0000
commit628509c756a47c66a35555322f460792b7c9148e (patch)
treeb053f7f69de5b4dcee33b18633ee4b4dcec5c328 /boto/ec2/autoscale/launchconfig.py
parent7deb3962cfdde13ef9a10b8a16db301d88c9b7a9 (diff)
downloadboto-628509c756a47c66a35555322f460792b7c9148e.tar.gz
More work on implementing autoscale calls.
Added support for getting and setting policies and metric collection types as well as a few bugfixes.
Diffstat (limited to 'boto/ec2/autoscale/launchconfig.py')
-rw-r--r--boto/ec2/autoscale/launchconfig.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/boto/ec2/autoscale/launchconfig.py b/boto/ec2/autoscale/launchconfig.py
index c7f2143d..0c0c1cf3 100644
--- a/boto/ec2/autoscale/launchconfig.py
+++ b/boto/ec2/autoscale/launchconfig.py
@@ -160,7 +160,5 @@ class LaunchConfiguration(object):
def delete(self):
""" Delete this launch configuration. """
- params = {'LaunchConfigurationName' : self.name}
- return self.connection.get_object('DeleteLaunchConfiguration', params,
- Request)
+ return self.connection.delete_launch_configuration(self.name)