From 7de4b13124669da23688fb223e392e49e3f56bb5 Mon Sep 17 00:00:00 2001 From: Jamie Hannaford Date: Thu, 21 May 2015 15:52:03 +0200 Subject: [PATCH] Fix get_launch_config var name --- cloud/rackspace/rax_scaling_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/rackspace/rax_scaling_group.py b/cloud/rackspace/rax_scaling_group.py index e3c6ec8944f..b8737632d8c 100644 --- a/cloud/rackspace/rax_scaling_group.py +++ b/cloud/rackspace/rax_scaling_group.py @@ -262,7 +262,7 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None, # Launch Configuration Updates lc = sg.get_launch_config() lc_args = {} - if server_name != lc.get('server_name'): + if server_name != lc.get('name'): lc_args['server_name'] = server_name if image != lc.get('image'):