summaryrefslogtreecommitdiff
path: root/boto/ec2/autoscale/launchconfig.py
diff options
context:
space:
mode:
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)