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>
}
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;