lib/cli/manifest_helper.rb in af-0.3.18.3 vs lib/cli/manifest_helper.rb in af-0.3.18.4

- old
+ new

@@ -105,13 +105,13 @@ default_command = manifest "command" set ask("Start Command", :default => default_command), "command" if framework.require_start_command? if client.infra_supported? infra = @options[:infra] || manifest("infra") || - VMC::Cli::InfraHelper.name_for_description( - ask("Select Infrastructure",:indexed => true, :choices => VMC::Cli::InfraHelper.infra_descriptions)) + client.infra_name_for_description( + ask("Select Infrastructure",:indexed => true, :choices => client.infra_descriptions)) set infra.dup, "infra" - VMC::Cli::Config.infra = infra + client.infra = infra end url_template = manifest("url") || DEFAULTS["url"] url_resolved = url_template.dup resolve_lexically(url_resolved)