Skip to content

Commit

Permalink
fix: Gi for RAM not optional
Browse files Browse the repository at this point in the history
  • Loading branch information
saffaalvi committed Sep 16, 2020
1 parent 32eb310 commit 9cbb66c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class FormSpecsComponent implements OnInit {
.get("memory")
.setValidators([
Validators.required,
Validators.pattern(/^[0-9]+([.][0-9]+)?(Gi)?$/),
Validators.pattern(/^[0-9]+([.][0-9]+)?(Gi)$/),
Validators.min(1)
]);
this.parentForm.setValidators(resourcesValidator());
Expand Down

0 comments on commit 9cbb66c

Please sign in to comment.