From 723ea4a93c4143f2fa41f72be1b1210937431537 Mon Sep 17 00:00:00 2001 From: Ivo Almeida Date: Thu, 21 Mar 2024 16:13:48 +0000 Subject: [PATCH] mgr/dashboard: fix subvolume group edit size Removed the 'infinite' string which was set when no value was provided Fixes: https://tracker.ceph.com/issues/65049 Signed-off-by: Ivo Almeida (cherry picked from commit a19f2b6e3c4b51b605be1b5683c0ddad2b9d959f) --- .../cephfs-subvolumegroup-form.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolumegroup-form/cephfs-subvolumegroup-form.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolumegroup-form/cephfs-subvolumegroup-form.component.ts index accbb61b7eeeb..ea677e5d68340 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolumegroup-form/cephfs-subvolumegroup-form.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolumegroup-form/cephfs-subvolumegroup-form.component.ts @@ -146,7 +146,6 @@ export class CephfsSubvolumegroupFormComponent extends CdForm implements OnInit const gid = this.subvolumegroupForm.getValue('gid'); const mode = this.formatter.toOctalPermission(this.subvolumegroupForm.getValue('mode')); if (this.isEdit) { - const editSize = size === 0 ? 'infinite' : size; this.taskWrapper .wrapTaskAroundCall({ task: new FinishedTask('cephfs/subvolume/group/' + URLVerbs.EDIT, { @@ -156,7 +155,7 @@ export class CephfsSubvolumegroupFormComponent extends CdForm implements OnInit this.fsName, subvolumegroupName, pool, - String(editSize), + String(size), uid, gid, mode -- 2.39.5