]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: convert failures to create a valid resource into error results
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 2 May 2024 20:40:53 +0000 (16:40 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 17 Jun 2024 15:16:59 +0000 (11:16 -0400)
commit31ffcda9e88e15b61cb1d3a4fdeb7cf356d918da
treee92f2228a00b4578eeb1e650e51769ba32f5d76f
parent014bd30417d4f6ad9038a6d206290ab657d30e2a
mgr/smb: convert failures to create a valid resource into error results

Convert failures to create a valid resource into error results that can
be reported back to the caller like the other error result types
generated by actually attempting to apply the resources.

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