]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/common_init: set conf->host in common_preinit()
authorKefu Chai <kchai@redhat.com>
Mon, 5 Jul 2021 04:00:24 +0000 (12:00 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 5 Jul 2021 04:17:49 +0000 (12:17 +0800)
commit3bee326025234a288d0de1ca2b1280f9da9d99c9
treebdfe54a47f49f661b9f3f7282b1db693359b9d2f
parent45be641769c7f6a7fed41f99ca6754499382cce7
common/common_init: set conf->host in common_preinit()

conf.host is used by graylog for setting the "host" property.
and it is used when serving the "get config" command when the command
queries the "host", so better off setting it early before
flushing the log entries with graylog.

Fixes: https://tracker.ceph.com/issues/45457
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/common_init.cc