]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm/binary: add `query_endpoint()` method
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 14 Sep 2023 15:32:38 +0000 (15:32 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:53:48 +0000 (14:53 +0000)
commit6712ca866ecbb6859defc75c8fbfcd61d0186ab3
treea0dba4b1d3a619c1271eca389561ebef3a4f322e
parent6e0359ec3648b57c6bbe8d880230bb2396dab3ea
cephadm/binary: add `query_endpoint()` method

This encapsulates the existing code in a new method
`query_endpoint()`.
The idea is to avoid duplicating code if we need to make multiple
calls to the agent endpoint from the `run()` method.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 7544406be33a579b3d0c63ee4c78ae91b02dfb0e)
src/cephadm/cephadm.py