From 9c28fcb328e76fce610a33a85ea4394235fb4748 Mon Sep 17 00:00:00 2001 From: "Jose Manuel (Ito)" Date: Thu, 12 Dec 2024 11:41:44 -0500 Subject: [PATCH] Update form-cpu-ram.component.ts --- .../form/form-new/form-cpu-ram/form-cpu-ram.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/jupyter/src/app/pages/form/form-new/form-cpu-ram/form-cpu-ram.component.ts b/frontend/jupyter/src/app/pages/form/form-new/form-cpu-ram/form-cpu-ram.component.ts index 1ba10230..71611e1e 100644 --- a/frontend/jupyter/src/app/pages/form/form-new/form-cpu-ram/form-cpu-ram.component.ts +++ b/frontend/jupyter/src/app/pages/form/form-new/form-cpu-ram/form-cpu-ram.component.ts @@ -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'), ]); @@ -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'), ]);