]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/cephadm: move haproxy client addrs to func
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 11 Jul 2023 20:29:44 +0000 (16:29 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:36:15 +0000 (13:36 -0400)
commit607dfacb790667c75ccf17d80dd60784524743e1
tree4f4b5eccadb802f4c616596c614f370f9f18ba94
parent5e01dfefcdb8cd43b77977544171b10fac923db6
pybind/mgr/cephadm: move haproxy client addrs to func

Move the list comprehension that gets the list of IP addresses for the
haproxy_hosts list to a separate function. This is in preparation for
making the logic more complex in a later commit.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit b1d2bb6ec53c2aa3574db2f5d3dc3878d2969a58)
src/pybind/mgr/cephadm/services/nfs.py