]> 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)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 12 Aug 2025 14:24:49 +0000 (10:24 -0400)
commit62347a15914ff5ca8557e4c121f8b55997132149
tree2ac25268ebefa3294f250fc4aa2286f827a0acad
parentd54fabceb454dcddef313126d5e569dd9f3ea150
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>
src/pybind/mgr/smb/resources.py