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

bug #2478: ds_id must be an integer in the deploy action

This commit is contained in:
Daniel Molina 2013-11-20 12:47:41 +01:00
parent e5114aac33
commit b8d516d2b2

View File

@ -222,7 +222,7 @@ module OpenNebula
# @return [nil, OpenNebula::Error] nil in case of success, Error
# otherwise
def deploy(host_id, enforce=false, ds_id=-1)
return call(VM_METHODS[:deploy], @pe_id, host_id.to_i, enforce, ds_id)
return call(VM_METHODS[:deploy], @pe_id, host_id.to_i, enforce, ds_id.to_i)
end
# Shutdowns an already deployed VM