]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: switch snmp class to use daemon_to_container function
authorJohn Mulligan <jmulligan@redhat.com>
Sun, 5 Nov 2023 18:43:44 +0000 (13:43 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 17 Nov 2023 13:10:11 +0000 (08:10 -0500)
commit560409a940b67d8d1dc4a86efc01ad0bd8bd8bbb
treee2d8c7094526af09d785270b0ff333f0521e566b
parent32cfb80d81e092a845d1baab0ad39299738a47cb
cephadm: switch snmp class to use daemon_to_container function

Switch the snmp daemon type class to call daemon_to_container instead of
get_container in the class's container method. This breaks a dependency loop
between the class and the get_container function hopefully enabling future
clean ups and code moves.

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