From e8e2cb6d352e5306c293c9bf2a4fd77bf8318d9e Mon Sep 17 00:00:00 2001 From: songbaisen Date: Tue, 12 Jul 2016 14:50:14 +0800 Subject: [PATCH] mon: remove the redudant jugement in LogMonitor tick function Signed-off-by: song baisen --- src/mon/LogMonitor.cc | 2 -- 1 file changed, 2 deletions(-) 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() -- 2.47.3