]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix snapshot creation with duplicate name 48048/head
authorAashish Sharma <aasharma@redhat.com>
Mon, 5 Sep 2022 11:59:11 +0000 (17:29 +0530)
committerAashish Sharma <aasharma@redhat.com>
Mon, 12 Sep 2022 09:08:04 +0000 (14:38 +0530)
commit4eaaf94677f93280de3b9a5b046fd069c91ee8c9
treee044bd2553cde2bd2606e0c1bd2fbef3f7741a33
parentb39c199834edd0cec8f754aa9b894e91975e7ecc
mgr/dashboard: fix snapshot creation with duplicate name

Snapshot creation with same name on UI throwing 500 Internal Error, This PR intends to fix this issue.

Fixes: https://tracker.ceph.com/issues/57456
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 2ae1bca1d9c7a771be0fa9481bef2622ffd7cc45)
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts