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