fix(XapiStats): do not use Xapi#getResource().readAll()

This commit is contained in:
Julien Fontanet 2017-06-29 17:27:18 +02:00
parent 33548c95aa
commit 49ae88ff98

View File

@ -391,7 +391,7 @@ export default class XapiStats {
json: 'true',
start: timestamp
}
}).readAll().then(JSON5.parse)
}).then(response => response.readAll().then(JSON5.parse))
}
async _getLastTimestamp (xapi, host, step) {