]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: make _check_rados_notify a function
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 27 Jan 2022 21:06:50 +0000 (16:06 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 23 Feb 2022 21:27:23 +0000 (16:27 -0500)
commitc51a6755b52954910512f804cde9e5255c1db9e7
tree9e51079bc39cb60f83ec5a126872e31626364e49
parentd94b63830d94f21ba276452844a46d21e084fb3f
mgr/nfs: make _check_rados_notify a function

This was previously a staticmethod. This static method was only used by
NFSRados object. Staticmethods are nearly always better implemented as
functions, which is done so here.

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