]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix cephfs create form validator
authorNizamudeen A <nia@redhat.com>
Tue, 29 Aug 2023 14:16:07 +0000 (19:46 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 29 Aug 2023 14:16:07 +0000 (19:46 +0530)
commitd8208693d5b9a94fd24dbffcdb45fe67d4164b3b
tree5c99832969fe62454f7cb220f1a875d898d9986d
parentb0f2e060b0f609ec557bf1ab5c40c61b759a6e34
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>
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