@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 && (vm.power_state === VM_POWER_STATE.RUNNING || vm.power_state === VM_POWER_STATE.PAUSED),
165
+ filter: vm => vm.$pool === poolId,
166
166
  });
167
167
  let assignedVcpu = 0;
168
168
  for (const id in vms) {
@@ -9044,7 +9044,7 @@
9044
9044
  },
9045
9045
  "info": {
9046
9046
  "title": "@xen-orchestra/rest-api",
9047
- "version": "0.13.0",
9047
+ "version": "0.13.1",
9048
9048
  "description": "REST API to manage your XOA",
9049
9049
  "license": {
9050
9050
  "name": "AGPL-3.0-or-later"
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.0",
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,