]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix snapshot creation with duplicate name 47976/head
authorAashish Sharma <aasharma@redhat.com>
Mon, 5 Sep 2022 11:59:11 +0000 (17:29 +0530)
committerAashish Sharma <aasharma@redhat.com>
Wed, 7 Sep 2022 11:36:52 +0000 (17:06 +0530)
commit2ae1bca1d9c7a771be0fa9481bef2622ffd7cc45
tree414d15a823ed48a909da5550e6d9927a06a3fcb1
parente3d4c7707e26ee0f573d9972cf617d9e9ccc0ac9
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>
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts