@xen-orchestra/rest-api 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -162,7 +162,7 @@ export class PoolService {
|
|
|
162
162
|
#getCpuProvisioning(poolId) {
|
|
163
163
|
const pool = this.#restApi.getObject(poolId, 'pool');
|
|
164
164
|
const vms = this.#restApi.getObjectsByType('VM', {
|
|
165
|
-
filter: vm => vm.$pool === poolId
|
|
165
|
+
filter: vm => vm.$pool === poolId,
|
|
166
166
|
});
|
|
167
167
|
let assignedVcpu = 0;
|
|
168
168
|
for (const id in vms) {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
7
7
|
"name": "@xen-orchestra/rest-api",
|
|
8
8
|
"homepage": "https://github.com/vatesfr/xen-orchestra/tree/master/@xen-orchestra/rest-api",
|
|
9
|
-
"version": "0.13.
|
|
9
|
+
"version": "0.13.1",
|
|
10
10
|
"description": "REST API to manage your XOA",
|
|
11
11
|
"license": "AGPL-3.0-or-later",
|
|
12
12
|
"private": false,
|