Explorar el Código

Fixing tag name to prepend aws identifier.

Kenny Woodson hace 10 años
padre
commit
8bb0c7f24b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/aws_command.rb

+ 1 - 1
lib/aws_command.rb

@@ -78,7 +78,7 @@ module OpenShift
           details = AwsHelper.get_host_details(options[:name])
           ah.extra_vars['oo_host_group_exp'] = options[:name]
           ah.extra_vars['oo_env'] = details['env']
-          host_type = details['host-type']
+          host_type = details['ec2_tag_host-type']
         elsif options[:type] && options[:env]
           oo_env_host_type_tag = AwsHelper.generate_env_host_type_tag_name(options[:env], options[:type])
           ah.extra_vars['oo_host_group_exp'] = "groups['#{oo_env_host_type_tag}']"