summaryrefslogtreecommitdiff
path: root/src/ceph_mon.cc
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-05-21 15:07:42 -0700
committerSage Weil <sage@inktank.com>2012-05-21 15:07:42 -0700
commit133cd69a11e8f33dd7971f3b9bf43e9adde3eddd (patch)
tree50634ab0855082064ff60194df3f19b0390451ac /src/ceph_mon.cc
parenta4d034d0b0190c63161e827782586d6df975c35e (diff)
downloadceph-133cd69a11e8f33dd7971f3b9bf43e9adde3eddd.tar.gz
mon: fix 'no initial monitors' warning
It is valid to start with no initial monitors even when the initial set is not defined; it just means that we are only able to join a cluster, and never able to form a new one. Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/ceph_mon.cc')
-rw-r--r--src/ceph_mon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc
index 1754e211f48..3010377547e 100644
--- a/src/ceph_mon.cc
+++ b/src/ceph_mon.cc
@@ -135,7 +135,7 @@ int main(int argc, const char **argv)
} else {
int err = monmap.build_initial(g_ceph_context, cerr);
if (err < 0) {
- cerr << argv[0] << ": warning: no initial monitors; must set 'mon initial members' and use admin socket to feed hints" << std::endl;
+ cerr << argv[0] << ": warning: no initial monitors; must use admin socket to feed hints" << std::endl;
}
// am i part of the initial quorum?