mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 12:22:38 +09:00
bug #4387: skip messages with empty actions
(cherry picked from commit ea86b2a9b1)
This commit is contained in:
1 parent
d62e6ec0c4
commit
4cc3d4e738
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