]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: remove redundant check 45508/head
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 28 Feb 2022 20:46:44 +0000 (15:46 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 17 Mar 2022 14:03:48 +0000 (10:03 -0400)
commitab4916e5a736392bade3397ca7d9647a264024bb
treef0fd3ee68d501f24c9321b5fb9ce21632fc2554c
parent3c502570bf96ab08886246eb249d182ad7287d7a
mgr/nfs: remove redundant check

Remove the extra check of the cluster id from _apply method. As _apply
is a "private" method that should be only called from other private
methods that have already validated the cluster_id. It also removes
a dependency on the orch-requiring func available_clusters.

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