mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-17 02:03:15 +09:00
bug #2478: ds_id must be an integer in the deploy action
This commit is contained in:
1 parent
e5114aac33
commit
b8d516d2b2
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user