]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: smb raise exception for unsucessful resource update 61123/head
authorPedro Gonzalez Gomez <pegonzal@redhat.com>
Tue, 17 Dec 2024 20:08:55 +0000 (21:08 +0100)
committerPedro Gonzalez Gomez <pegonzal@redhat.com>
Tue, 28 Jan 2025 16:06:24 +0000 (17:06 +0100)
commitf8cff38a5a3e58cc1ab677fd8f8ba323be68e4c1
tree544568628589ee2ff347f81318b2f7c08488c64b
parent856b47fe5056ac0fb31b0d2b0a9a63e5026d91d7
mgr/dashboard: smb raise exception for unsucessful resource update

Adds a decorator to raise a DashboardException with the msg error of an unsucessful smb resource update

Fixes: https://tracker.ceph.com/issues/69286
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
src/pybind/mgr/dashboard/controllers/smb.py
src/pybind/mgr/dashboard/openapi.yaml