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:
parent
dc160ebd3b
commit
6e320afc28
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user