mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-06 07:04:45 +09:00
M #-: Don't use safe operator with ruby 2.0 (#447)
This commit is contained in:
1 parent
65a7069520
commit
a738384bb2
1 file changed
+3
-2
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user