]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/smb: add result type for reporting resource validation errors
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 2 May 2024 20:33:01 +0000 (16:33 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 17 Jun 2024 15:16:59 +0000 (11:16 -0400)
commitd438ee9bcbb2d784cf6afedd77493af0cc9d2fec
treec423a837f707f9b8e30485daccab9bf9b152a426
parent28dda2d9dffe09d361fb91cc7ee73bc684a8bb0b
mgr/smb: add result type for reporting resource validation errors

This error type can not take a real resource object because the resource
object could not be constructed from the data. Use the raw data for
reporting the error result.

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