]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: remove redundant check 45804/head
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 28 Feb 2022 20:46:44 +0000 (15:46 -0500)
committerAdam King <adking@redhat.com>
Wed, 6 Apr 2022 20:13:04 +0000 (16:13 -0400)
commit0e77e3280b3e4bb067ec19239d3f9dcc0e0c9f02
tree95d1be3834c16d9ea182f78a62f08a0b21b6dcfe
parent38fbf9812922a45609a9d4fa7de14da2a4d7443e
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