]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix snapshot creation with duplicate name 48047/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:00:37 +0000 (14:30 +0530)
commit1d5e72d4006ca424ba3047382656e967c91ba734
treecf9e384667844c23af872f196da63079631ba93b
parent8382a00d9fae7a3543261c94328cc288152d3c8e
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