1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

L #-: Fix for rubocop 1.54.2

This commit is contained in:
Tino Vázquez 2023-07-17 17:41:55 +02:00
parent 2a49542539
commit 1c356eef52
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
3 changed files with 3 additions and 3 deletions
src
market_mad
vmm_mad/remotes/lib
kvm
vcenter_driver

@ -345,7 +345,7 @@ end
opts = GetoptLong.new(
['--threads', '-t', GetoptLong::OPTIONAL_ARGUMENT],
['--market-types', '-m', GetoptLong::OPTIONAL_ARGUMENT],
['--timeout', '-w', GetoptLong::OPTIONAL_ARGUMENT],
['--timeout', '-w', GetoptLong::OPTIONAL_ARGUMENT],
['--proxy', '-p', GetoptLong::OPTIONAL_ARGUMENT]
)

@ -116,7 +116,7 @@ module VirtualMachineManagerKVM
dev = '<interface type="bridge">'
if @xml["#{@xpath_prefix}BRIDGE_TYPE"] =~ /openvswitch/
dev << '<virtualport type="openvswitch"/>'
dev << '<virtualport type="openvswitch"/>'
end
dev << xputs('<source bridge=%s/>', 'BRIDGE')

@ -352,7 +352,7 @@ module VCenterDriver
str_info << 'USEDMEMORY=' << (total_mem - free_mem).to_s << "\n"
# DRS enabled
str_info << 'VCENTER_DRS=' << drs_enabled.to_s << "\n"
str_info << 'VCENTER_DRS=' << drs_enabled.to_s << "\n"
# HA enabled
str_info << 'VCENTER_HA=' << ha_enabled.to_s << "\n"