mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-10 06:24:35 +09:00
bug #4387: skip messages with empty actions
This commit is contained in:
1 parent
11432a1545
commit
ea86b2a9b1
1 file changed
+5
@@ -184,6 +184,11 @@ private
|
||||
args = str.split(/\s+/)
|
||||
next if args.length == 0
|
||||
|
||||
if args.first.empty?
|
||||
STDERR.puts "Malformed message: #{str.inspect}"
|
||||
next
|
||||
end
|
||||
|
||||
action = args.shift.upcase.to_sym
|
||||
|
||||
if (args.length == 0) || (!args[0])
|
||||
|
||||
Reference in new issue
Block a user