Procházet zdrojové kódy

Fixing tag name to prepend aws identifier.

Kenny Woodson před 10 roky
rodič
revize
8bb0c7f24b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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}']"