Skip to content

Commit

Permalink
fixed bug in nats message
Browse files Browse the repository at this point in the history
  • Loading branch information
okanji committed Nov 28, 2023
1 parent 19ef71a commit 4cf86e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nats/privateCloud/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ export default function createPrivateCloudNatsMessage(
].map(({ quotaName, quota }) => ({
name: `${licencePlate}-${quotaName}`,
quota: {
cpu: DefaultCpuOptions[quota.cpu],
memory: DefaultMemoryOptions[quota.memory],
storage: DefaultStorageOptions[quota.storage],
cpu: DefaultCpuOptions[quota.cpu].name,
memory: DefaultMemoryOptions[quota.memory].name,
storage: DefaultStorageOptions[quota.storage].name,
snapshot: snapshot.name,
},
quotas: {
Expand Down

0 comments on commit 4cf86e4

Please sign in to comment.