]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: lift _format_val function to file level
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 4 Mar 2022 19:53:38 +0000 (14:53 -0500)
committerAdam King <adking@redhat.com>
Sat, 21 May 2022 23:01:49 +0000 (19:01 -0400)
commitc29e2a627e1a567562b7bc57b7cc477ee9b03503
tree0a0c6051addbfe13b0c8cac16070cafc13aedb62
parent25e13d7228ef98e1ad3299e4b768764eff4c9202
mgr/nfs: lift _format_val function to file level

There's no advantage to having this function as a closure and it makes
reading the code (and testing it) more challenging.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 1a7b7e35b261c9e227f0540ae5310e68a7e8bfe4)
src/pybind/mgr/nfs/ganesha_conf.py