]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: unify way to get the host address
authorTatjana Dehler <tdehler@suse.com>
Wed, 9 Mar 2022 15:10:49 +0000 (16:10 +0100)
committerTatjana Dehler <tdehler@suse.com>
Fri, 18 Mar 2022 14:54:49 +0000 (15:54 +0100)
commit30385068eed7a4f93179e8d2748dd6e01bba6ffd
treee7a408cfa9bd3c9b72902e5ef67becf0ecfdbc59
parente2c1101b694f8907c24e9a522c59489e320782fb
mgr/cephadm: unify way to get the host address

There are two different ways to get the host address. From the
inventory of the mgr object directly or via the `_inventory_get_addr`
method of `CephadmService`. Update the code in order to use the
`_inventory_get_addr` method only.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/cephadm/services/monitoring.py