lib/app42/command/config.rb in app42-0.5.4 vs lib/app42/command/config.rb in app42-0.5.5
- old
+ new
@@ -81,14 +81,14 @@
end
#
# return list of vm_configuration(memory)
#
- def get_vmconfig vm_type, iaas
+ def get_vmconfig resource, vm_type, iaas
query_params = params
query_params.store('vmType', vm_type)
query_params.store('iaas', iaas)
- build_get_request query_params, 'info', 'memory'
+ build_get_request query_params, "#{resource}", 'memory'
end
#
# return list of iaas_provider
#
\ No newline at end of file