]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/nfs: remove redundant check
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 28 Feb 2022 20:46:44 +0000 (15:46 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 1 Mar 2022 15:11:18 +0000 (10:11 -0500)
commitdd5a47f83349c8f2b539ba3881f58f5270024cbb
tree56b1d6ff17c46df721c31aff092833433692ad62
parentdaa455cd168d62cd8fbcaba4d7aa79b56e68ef0d
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>
src/pybind/mgr/nfs/export.py