]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/smb: split _check_cluster function body into two functions
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 11 Oct 2024 18:20:03 +0000 (14:20 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Sat, 12 Oct 2024 17:37:33 +0000 (13:37 -0400)
commit2f7fe668fe21da13bfe94f12d029433ff237bd0c
tree1fdbd942a263cb44ade7e6b3a662d06038786c3d
parentd4b04b40424f36ac1711d0d115940e3a3009e51b
mgr/smb: split _check_cluster function body into two functions

Split the _check_cluster function body into two functions, one to check
the cluster resource when it is being removed and one for when the
cluster is present in the configuration. This matches the split already
done for checking the join auth and users-and-groups resources.

Best-viewed-with: git diff -w / Ignore whitespace

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