lib/app42/command/wordpress.rb in app42-0.6.4 vs lib/app42/command/wordpress.rb in app42-0.7.0
- old
+ new
@@ -7,11 +7,11 @@
# Collect all required attributes for new wordpress setup spawn
# required inputs are wordpress_name, vm_type, iaas, setup_type and flavour
def setup
wordpress_name = get_wordpress_name_and_check_wordpress_url_availability
- vm_type = get_vm_types
- iaas = get_iaas_providers
+ vm_type = get_vm_types nil
+ iaas = get_iaas_providers vm_type
flavour = get_flavour
setup_cloud_api_res = App42::Command::Base.new.create_wordpress_setup wordpress_name, iaas, vm_type, flavour
exit! if setup_cloud_api_res
end
\ No newline at end of file