Fix get_launch_config var name

This commit is contained in:
Jamie Hannaford 2015-05-21 15:52:03 +02:00 committed by Matt Clay
parent 6b9310ecfb
commit f969bc0549

View file

@ -262,7 +262,7 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None,
# Launch Configuration Updates # Launch Configuration Updates
lc = sg.get_launch_config() lc = sg.get_launch_config()
lc_args = {} lc_args = {}
if server_name != lc.get('server_name'): if server_name != lc.get('name'):
lc_args['server_name'] = server_name lc_args['server_name'] = server_name
if image != lc.get('image'): if image != lc.get('image'):