mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
B #: fix onedb change-body (#149)
This commit is contained in:
parent
238769f5eb
commit
f5c77e40fd
@ -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