Skip to content

Commit

Permalink
mon: make MonMap error message about unspecified monitors less specific.
Browse files Browse the repository at this point in the history
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 ceph#5979.

Signed-off-by: Greg Farnum <[email protected]>
  • Loading branch information
gregsfortytwo committed Aug 19, 2013
1 parent 4677041 commit f5636be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mon/MonMap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f5636be

Please sign in to comment.