]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix cephfs create form validator 53219/head
authorNizamudeen A <nia@redhat.com>
Tue, 29 Aug 2023 14:16:07 +0000 (19:46 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 30 Aug 2023 08:30:49 +0000 (14:00 +0530)
commit77283be9d683bf44296ad0538db7f4c16e653623
treef57c1d07a084ed4a3caf9c8616238a4dfd00e90f
parent055e155b00010d1ae587f72511c0414e5ca9c6c8
mgr/dashboard: fix cephfs create form validator

dashboard was allowing to create a filesystem with / in its name but the
cli throws out error in doing so. And the created volume in dashboard
just gets ended up as a stale volume

Fixes: https://tracker.ceph.com/issues/62628
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit d8208693d5b9a94fd24dbffcdb45fe67d4164b3b)
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-form/cephfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-form/cephfs-form.component.ts