lib/fog/ovirt/requests/compute/v4/update_vm.rb in fog-ovirt-1.1.4 vs lib/fog/ovirt/requests/compute/v4/update_vm.rb in fog-ovirt-1.1.5
- old
+ new
@@ -4,9 +4,10 @@
class V4
class Real
# rubocop:disable Metrics/AbcSize
def update_vm(attrs)
attrs = attrs.dup
+ attrs = convert_string_to_bool(attrs)
vm_service = client.system_service.vms_service.vm_service(attrs[:id])
if attrs[:cores].present?
cpu_topology = OvirtSDK4::CpuTopology.new(:cores => attrs[:cores], :sockets => "1")
attrs[:cpu] = OvirtSDK4::Cpu.new(:topology => cpu_topology)