Bug in Driver action manager

git-svn-id: http://svn.opennebula.org/one/trunk@859 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Javier Fontán Muiños committed 2009-10-14 17:49:02 +00:00
1 parent 97ab9ece39
commit 156f463624
1 file changed
+1 -1
+1 -1
View File
@@ -151,7 +151,7 @@ class ActionManager
@threads_cond.signal
else
i = @action_queue.index{|x| x[:id] == action_id}
i = @action_queue.select{|x| x[:id] == action_id}.first
@action_queue.delete_at(i) if i
end
}