]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/influx: use "N/A" for unknown hostname 43369/head
authorKefu Chai <kchai@redhat.com>
Mon, 22 Feb 2021 05:53:42 +0000 (13:53 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 30 Sep 2021 14:28:58 +0000 (22:28 +0800)
commite449d1e905340deb937c16a8f109667fc5ad45fb
tree5d385800c0ff5675c859f6c1d49776df288b67c6
parent5cf037b543c1ce56dd30971edda32e1c42e42a55
mgr/influx: use "N/A" for unknown hostname

in theory, there is chance that get_metadata() returns None, so let use
"N/A" in this case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit e457ca50011f70cf01a62323998af233a484f338)
src/pybind/mgr/influx/module.py