diff --git a/packages/xo-server/src/xapi-stats.js b/packages/xo-server/src/xapi-stats.js index 4fc523a31..1fdfef6bd 100644 --- a/packages/xo-server/src/xapi-stats.js +++ b/packages/xo-server/src/xapi-stats.js @@ -418,7 +418,7 @@ export default class XapiStats { }) } - getVmStats (xapi, vmId, granularity) { + async getVmStats (xapi, vmId, granularity) { const vm = xapi.getObject(vmId) const host = vm.$resident_on if (!host) {