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

M #-: Don't use safe operator with ruby 2.0 (#447)

This commit is contained in:
Jan Orel 2020-11-19 11:48:10 +01:00 committed by GitHub
parent 65a7069520
commit a738384bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1361,8 +1361,9 @@ end
#
################################################################################
LIVE_DISK_SNAPSHOTS = ENV['LIVE_DISK_SNAPSHOTS']&.split || []
VNMAD_LOCAL_ACTIONS = ENV['VNMAD_LOCAL_ACTIONS']&.split || []
ENV_CONF = Hash.new("").merge!(ENV)
LIVE_DISK_SNAPSHOTS = ENV_CONF['LIVE_DISK_SNAPSHOTS'].split
VNMAD_LOCAL_ACTIONS = ENV_CONF['VNMAD_LOCAL_ACTIONS'].split
opts = GetoptLong.new(
['--retries', '-r', GetoptLong::OPTIONAL_ARGUMENT],