Skip to content

Commit

Permalink
VM re-config within existing quota
Browse files Browse the repository at this point in the history
  • Loading branch information
supernoodz authored and billfitzgerald0120 committed Apr 12, 2017
1 parent 4039c8c commit 0bf9bae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def service_prov_option(prov_option, options_array = [])
options_array
end

def vm_vendor
def vendor
@reconfigure_request ? @vm.vendor : @miq_request.source.vendor
end

Expand Down Expand Up @@ -95,7 +95,7 @@ def vm_prov_option_value(prov_option, options_array = [])

case prov_option
when :vm_memory
requested_memory(args_hash, vm_vendor)
requested_memory(args_hash, vendor)
when :number_of_cpus
requested_number_of_cpus(args_hash)
when :storage
Expand Down

0 comments on commit 0bf9bae

Please sign in to comment.