1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug: send the associated action when no XML data is found

(cherry picked from commit 7d3acaa82b967c8b710f078970a93d425c6f67af)
This commit is contained in:
Ruben S. Montero 2012-07-01 00:40:46 +02:00
parent a801d4f220
commit 077143b286

View File

@ -591,7 +591,7 @@ private
raise if value.empty?
value
rescue
send_message(ACTION[:attach_disk],RESULT[:failure],id,
send_message(action, RESULT[:failure], id,
"Cannot perform #{action}, expecting #{xpath}")
nil
end