From: songbaisen Date: Tue, 12 Jul 2016 06:50:14 +0000 (+0800) Subject: mon: remove the redudant jugement in LogMonitor tick function X-Git-Tag: v11.1.0~176^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e8e2cb6d352e5306c293c9bf2a4fd77bf8318d9e;p=ceph.git mon: remove the redudant jugement in LogMonitor tick function Signed-off-by: song baisen --- diff --git a/src/mon/LogMonitor.cc b/src/mon/LogMonitor.cc index 9deaf479aeaa..962be7991125 100644 --- a/src/mon/LogMonitor.cc +++ b/src/mon/LogMonitor.cc @@ -56,8 +56,6 @@ void LogMonitor::tick() dout(10) << *this << dendl; - if (!mon->is_leader()) return; - } void LogMonitor::create_initial()