1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

B #: fix onedb change-body (#149)

(cherry picked from commit f5c77e40fdfae22d9918b4b6c512ac2fdf7c027d)
This commit is contained in:
Christian González 2020-08-12 15:04:07 +02:00 committed by Ruben S. Montero
parent dc160ebd3b
commit 6e320afc28
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -454,7 +454,7 @@ class OneDBLive
break if found_id
end
return if options[:id] && found_id
return if !options[:id] || found_id
raise "Object with id #{options[:id]} not found"
end