1
0
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:
Christian González 2020-08-12 15:04:07 +02:00 committed by GitHub
parent 238769f5eb
commit f5c77e40fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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