Project

General

Profile

« Previous | Next » 

Revision 7b0a46e5

Added by Michael Moll over 4 years ago

Fixes #29172 - Fix Layout/SpaceBeforeBlockBraces cop

View differences:

modules/dhcp_common/isc/subnet_service_initialization.rb
when 'SUNW.JumpStart-server'
[:jumpstart_server_path, strip_quotes(values.flatten.first)]
else
[name.tr('.', '_').tr('-', '_').to_sym, values.map {|vv| vv.map{|v| strip_quotes(v)}}]
[name.tr('.', '_').tr('-', '_').to_sym, values.map {|vv| vv.map {|v| strip_quotes(v)}}]
# TODO: check if adding a new reservation with omshell for a free lease still
# generates a conflict
end
......
end
def hex2ip(hex)
hex.split(":").map{|h| h.to_i(16).to_s}.join(".")
hex.split(":").map {|h| h.to_i(16).to_s}.join(".")
end
end
end

Also available in: Unified diff