Skip to content

Commit

Permalink
Update form-cpu-ram.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose-Matsuda authored Dec 12, 2024
1 parent 4bc1c86 commit 9c28fcb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class FormCpuRamComponent implements OnInit, OnChanges {
.setValidators([
Validators.required,
Validators.pattern(/^[0-9]+([.][0-9]+)?$/),
Validators.min(0.1),
Validators.min(0.5),
this.maxResourcesValidator('cpuLimit'),
this.limitValidator('cpu'),
]);
Expand All @@ -83,7 +83,7 @@ export class FormCpuRamComponent implements OnInit, OnChanges {
.setValidators([
Validators.required,
Validators.pattern(/^[0-9]+([.][0-9]+)?$/),
Validators.min(0.5),
Validators.min(1),
this.maxResourcesValidator('memoryLimit'),
this.limitValidator('memory'),
]);
Expand Down

0 comments on commit 9c28fcb

Please sign in to comment.