]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix cephfs name validation
authorNizamudeen A <nia@redhat.com>
Tue, 26 Mar 2024 07:53:39 +0000 (13:23 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 27 Mar 2024 04:36:02 +0000 (10:06 +0530)
commit5a798f97a5ce71dffd87da6766baf9825606671a
tree24c653bf86040e7a80d9bb4c7bdfb876cf86b9f4
parent9d2ee692f5a7771b6f28f4467ab0ee05cf8e7a12
mgr/dashboard: fix cephfs name validation

allow volume name to start with dot (.)

Fixes: https://tracker.ceph.com/issues/65143
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 242318452c8111717e49b896c7f9cf0ec5f5b262)
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.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-form/cephfs-form.component.ts