]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: make InvalidResourceError based on ErrorResponseBase
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 8 May 2024 17:39:30 +0000 (13:39 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 24 Jun 2024 12:41:08 +0000 (08:41 -0400)
commit29e85e5cdd48d9107a821c3fcce232c9c99435a1
treed23087f342f7354b22bd2a23ede7ec8cb06f43f8
parentbba802ab298c129037405987cd5e3909915d0d9e
mgr/smb: make InvalidResourceError based on ErrorResponseBase

Make InvalidResourceError based on ErrorResponseBase as well as
ValueError for consistency with the InvalidInputError class and in the
case it ever fails to be wrapped by a Response type.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/resources.py