]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: use a private constant for hidden value indicator
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 21:42:40 +0000 (17:42 -0400)
committerAdam King <adking@redhat.com>
Thu, 21 Aug 2025 18:13:55 +0000 (14:13 -0400)
commita0ef84a3a0ab63182c6471c8628279686077b735
treeefa79bb9a6a029eede48080aae0ff733a2c7125d
parentfdb31422d6a7bc69c9f3e7d7b97a8f9dd378699f
mgr/smb: use a private constant for hidden value indicator

When the password filter hides a value we replace it with a string
of asterisks - indicating that there was a value here. Move it
to a constant so it can be reused later.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 62347a15914ff5ca8557e4c121f8b55997132149)
src/pybind/mgr/smb/resources.py