From: Greg Farnum Date: Mon, 19 Aug 2013 17:21:16 +0000 (-0700) Subject: mon: make MonMap error message about unspecified monitors less specific. X-Git-Tag: v0.68~41^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f5636be742bffb19f16fdb832891fd1a43679ccf;p=ceph.git 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 --- diff --git a/src/mon/MonMap.cc b/src/mon/MonMap.cc index d3978afb602c..7012e0545cf0 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;