]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: change method format_path to function normalize_path
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 28 Jan 2022 16:07:54 +0000 (11:07 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 17 Mar 2022 14:03:25 +0000 (10:03 -0400)
commit2578c41fdbfd40266cf47fbdc5f0ca66fabc0e6a
treecc3bbbf0827d8b023a37c1dcde25cc053dad735f
parent0ae81108e252d0103abf280d9daf7a52eb21d372
mgr/nfs: change method format_path to function normalize_path

This function was not using self and thus has no need to be a method.
While we're at it, rename it to normalize_path because that's what
it is doing.

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