Skip to content

Commit

Permalink
Merge pull request #2927 from threefoldtech/development_2.6_memory_rules
Browse files Browse the repository at this point in the history
Edit memory rules in Pricing Calculator
  • Loading branch information
zaelgohary authored Jun 10, 2024
2 parents 9e8bcbd + b90af91 commit 4392893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/playground/src/utils/pricing_calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export const nuRules = _applyRules([

export const mruRules = _applyRules([
required("Memory is required."),
min("Minimum allowed Memory size is 1 GB.", 1),
isInt("Memory must be a valid integer."),
min("Minimum allowed Memory size is .5 GB.", 0.5),
isNumeric("Memory must be a valid number."),
max("Maximum allowed memory is 1024 GB.", 1024),
]);

Expand Down

0 comments on commit 4392893

Please sign in to comment.