Remove useless $coroutine.

This commit is contained in:
Julien Fontanet 2015-05-06 17:53:36 +02:00
parent adbbb15a92
commit 99461a70e6

View File

@ -216,7 +216,7 @@ exports.createNetwork = createNetwork
# Returns an empty array if up-to-date
# Throws an error if the host is not running the latest XS version
listMissingPatches = $coroutine ({host}) ->
listMissingPatches = ({host}) ->
return @getXAPI(host).listMissingPoolPatchesOnHost(host.id)
listMissingPatches.params = {
@ -231,7 +231,7 @@ exports.listMissingPatches = listMissingPatches
#---------------------------------------------------------------------
installPatch = $coroutine ({host, patch: patchUuid}) ->
installPatch = ({host, patch: patchUuid}) ->
return @getXAPI(host).installPoolPatchOnHost(patchUuid, host.id)
installPatch.params = {