summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Farnum <greg@inktank.com>2013-08-19 10:21:16 -0700
committerGreg Farnum <greg@inktank.com>2013-08-19 10:21:16 -0700
commitf5636be742bffb19f16fdb832891fd1a43679ccf (patch)
tree93543e7542b7db847419291ad97fcd44cd1a3419
parent4677041da309234feb7b7df28e1d73db99d27c72 (diff)
downloadceph-f5636be742bffb19f16fdb832891fd1a43679ccf.tar.gz
mon: make MonMap error message about unspecified monitors less specific.
The error message helpfully references the -m and -c CLI options for specifying monitors, but this code can be invoked from non-core librados client applications so that's unfortunately not kosher. Remove the reference. Fixes #5979. Signed-off-by: Greg Farnum <greg@inktank.com>
-rw-r--r--src/mon/MonMap.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mon/MonMap.cc b/src/mon/MonMap.cc
index d3978afb602..7012e0545cf 100644
--- a/src/mon/MonMap.cc
+++ b/src/mon/MonMap.cc
@@ -329,8 +329,7 @@ int MonMap::build_initial(CephContext *cct, ostream& errout)
}
if (size() == 0) {
- errout << "unable to find any monitors in conf. "
- << "please specify monitors via -m monaddr or -c ceph.conf" << std::endl;
+ errout << "no monitors specified to connect to." << std::endl;
return -ENOENT;
}
return 0;