From 80c6278f23afffe4a0399a2e5a89365adcefc31e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 23 May 2012 11:25:27 -0700 Subject: [PATCH] monmap: ignore conf mon entries when -m is specified Use -m instead of conf mons (instead of combining them into a single large search pool). Signed-off-by: Sage Weil --- src/mon/MonMap.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/MonMap.cc b/src/mon/MonMap.cc index 4a112a5557aca..ebff83763ae1d 100644 --- a/src/mon/MonMap.cc +++ b/src/mon/MonMap.cc @@ -262,6 +262,7 @@ int MonMap::build_initial(CephContext *cct, ostream& errout) int r = build_from_host_list(conf->mon_host, "noname-"); if (r < 0) errout << "unable to parse addrs in '" << conf->mon_host << "'" << std::endl; + return 0; } // What monitors are in the config file? -- 2.39.5