]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/influx: use "N/A" for unknown hostname 43368/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:27:43 +0000 (22:27 +0800)
commit4d428f359c4caf84dcf0e46e2ff4165463850e96
tree365a67acf068da43e859db97ca15c1efdaa605e6
parentac85b9be53bd46f07071d2185cf5ec60deb22afc
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