@kumori/aurora-backend-handler 1.1.107 → 1.1.108

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.
@@ -224,7 +224,7 @@ const createRevision = (
224
224
  cpu: { max: eventData.spec.intensives?.vcpu / 1000 || 0, min: 0 },
225
225
  memory: { max: eventData.spec.intensives?.ram / 1000 || 0, min: 0 },
226
226
  storage: {
227
- max: eventData.spec.intensives?.shared_disk / 1000 || 0,
227
+ max: (eventData.spec.intensives?.volatile_disk / 1000 || 0) + (eventData.spec.intensives?.nrpersistent_disk / 1000 || 0) + (eventData.spec.intensives?.persistent_disk / 1000 || 0),
228
228
  min: 0,
229
229
  },
230
230
  volatileStorage: {
@@ -717,7 +717,7 @@ export const processRevisionData = (
717
717
  cpu: { max: revisionData.intensives?.vcpu / 1000 || 0, min: 0 },
718
718
  memory: { max: revisionData.intensives?.ram / 1000 || 0, min: 0 },
719
719
  storage: {
720
- max: revisionData.intensives?.shared_disk / 1000 || 0,
720
+ max: (revisionData.intensives?.volatile_disk / 1000 || 0) + (revisionData.intensives?.nrpersistent_disk / 1000 || 0) + (revisionData.intensives?.persistent_disk / 1000 || 0),
721
721
  min: 0,
722
722
  },
723
723
  volatileStorage: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumori/aurora-backend-handler",
3
- "version": "1.1.107",
3
+ "version": "1.1.108",
4
4
  "description": "backend handler",
5
5
  "main": "backend-handler.ts",
6
6
  "scripts": {