lib/app42/command/setup.rb in app42-0.5.9 vs lib/app42/command/setup.rb in app42-0.5.10

- old
+ new

@@ -36,9 +36,18 @@ @options[:setup] = get_setup_name if @options[:setup].nil? response = clouldapi_operation __method__, @options[:setup] if is_setup_name_exist? @options[:setup] exit! if response end + # collect BPaaS setup name from user and proceed BPaaS upgrade request + def upgrade_cloud_api + @options[:setup] = get_setup_name if @options[:setup].nil? + print_new_line + flavour = get_flavour + response = upgrade_clouldapi @options[:setup], flavour if is_setup_name_exist? @options[:setup] + exit! if response + end + # return setup type def get_setup_type setup_type_hash = {} setup_type = App42::Command::Config.new.get_setup_type_fm_server \ No newline at end of file