]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: add a wrapper_type attribute for resourcelib fields
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 30 Jun 2025 21:18:36 +0000 (17:18 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 12 Aug 2025 14:24:49 +0000 (10:24 -0400)
commit4be5d428ca9705b1b05360ac1a0a9aa59a57259f
tree150805173ef9a5c187e9e167d21cd4e014d033d4
parentf3498f07c35300af4e6bf8f04ab353d63a193f2c
mgr/smb: add a wrapper_type attribute for resourcelib fields

Add a new wrapper_type attribute for resourcelib fields that will be
used for better YAML representations in a future change. The
wrapper_type attribute will be applied during the simplification
phase to prep the resulting object for serialization. It can be set
using the special _customize_resource function.

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