]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Use mon_host instead of mon_addr in ceph_conf 429/head
authorJordi Llonch <llonchj@gmail.com>
Sun, 14 Jul 2013 21:28:02 +0000 (07:28 +1000)
committerJordi Llonch <llonchj@gmail.com>
Sun, 14 Jul 2013 21:28:02 +0000 (07:28 +1000)
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
src/client/hypertable/CephBroker.cc

index 7008f30bb3cd1c9e0ddc2f5e8d08543808957044..9d64cfe1682317cb89837b4f5c9694b9d04e05fd 100644 (file)
@@ -78,7 +78,7 @@ CephBroker::CephBroker(PropertiesPtr& cfg)
   if (ret) {
     throw Hypertable::Exception(ret, "ceph_create failed");
   }
-  ret = ceph_conf_set(cmount, "mon_addr", mon_addr.c_str());
+  ret = ceph_conf_set(cmount, "mon_host", mon_addr.c_str());
   if (ret) {
     ceph_shutdown(cmount);
     throw Hypertable::Exception(ret, "ceph_conf_set(mon_addr) failed");