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:
parent
2a49542539
commit
1c356eef52
src
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user