Fix vdi.migrate() & vdi.delete() parameters.
This commit is contained in:
parent
e2e369a463
commit
fd3d60ed7d
@ -85,8 +85,8 @@ exports.migrate = $coroutine ({id, sr_id}) ->
|
||||
$wait xapi.call 'VDI.pool_migrate', VDI.ref, SR.ref, {}
|
||||
|
||||
return true
|
||||
exports.delete.permission = 'admin'
|
||||
exports.delete.params = {
|
||||
exports.migrate.permission = 'admin'
|
||||
exports.migrate.params = {
|
||||
id: { type: 'string' }
|
||||
sr_id: { type: 'string' }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user