]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add a utilty method for type checking DaemonSubIdentity types
authorJohn Mulligan <jmulligan@redhat.com>
Sun, 1 Oct 2023 16:49:59 +0000 (12:49 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jan 2024 14:30:20 +0000 (09:30 -0500)
commit4fd8f045c48db258335072975a85818ec9b26a91
tree5715d30853db1708d657fe48e7ed4942034ee267
parentba1a1fe83b360f2f1a4a31e274e85876e4f4373a
cephadm: add a utilty method for type checking DaemonSubIdentity types

Add a `must` method that ensures a DaemonIdentity is a DaemonSubIdentity
in a single call.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/daemon_identity.py