Fixed a xapi call

This commit is contained in:
Fabrice Marsaud 2015-07-02 16:50:37 +02:00
parent 8c8188c24f
commit a1f2e9e4e2

View File

@ -611,7 +611,7 @@ handleExport = (req, res, {stream, response: upstream}) ->
# TODO: integrate in xapi.js
export_ = $coroutine ({vm, compress}) ->
stream = yield @getXAPI(vm).exportVm(vm.id, compress ? true)
stream = yield @getXAPI(vm).exportVm(vm.id, {compress: compress ? true})
return {
$getFrom: yield @registerHttpRequest(handleExport, {