From d656aed599ee754646e16386ce5a4ab0117f2d6e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 16 Jul 2013 15:36:53 -0700 Subject: [PATCH] mon/OSDMonitor: fix typo From 5eac38797d9eb5a59fcff1d81571cff7a2f10e66 Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index a3acb396bcafa..dbd3db6240a37 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -298,7 +298,7 @@ void OSDMonitor::on_active() check_subs(); if (thrash_map) { - if (is_leader()) { + if (mon->is_leader()) { if (thrash()) propose_pending(); } else { -- 2.39.5