summaryrefslogtreecommitdiffstats
path: root/src/mon/LogMonitor.cc
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2018-07-06 17:08:00 +0200
committerKefu Chai <kchai@redhat.com>2018-07-10 17:42:59 +0200
commitf528475d92524328ef3e12dfec036461395338c0 (patch)
treefde1820cfa95bbb1227b83157e0a6cb745589d10 /src/mon/LogMonitor.cc
parentcommon,rbd,rgw,osd: extract config values into ConfigValues (diff)
downloadceph-f528475d92524328ef3e12dfec036461395338c0.tar.xz
ceph-f528475d92524328ef3e12dfec036461395338c0.zip
common: move ConfigValues out of md_config_t
by moving ConfigValues out of md_config_t, we are able to point md_config_t to a new ConfigValues instance at runtime, without destroying the old one. also remove ConfigReader, because all md_config_obs_t will be updated with ConfigProxy now. as md_config_t is not able to offer the *data* anymore. Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/mon/LogMonitor.cc')
-rw-r--r--src/mon/LogMonitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/LogMonitor.cc b/src/mon/LogMonitor.cc
index 4209c4aa401..95ea2bda5aa 100644
--- a/src/mon/LogMonitor.cc
+++ b/src/mon/LogMonitor.cc
@@ -828,7 +828,7 @@ ceph::logging::Graylog::Ref LogMonitor::log_channel_info::get_graylog(
return graylogs[channel];
}
-void LogMonitor::handle_conf_change(const md_config_t *conf,
+void LogMonitor::handle_conf_change(const ConfigProxy& conf,
const std::set<std::string> &changed)
{
if (changed.count("mon_cluster_log_to_syslog") ||