summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Llonch <llonchj@gmail.com>2013-07-15 07:28:02 +1000
committerJordi Llonch <llonchj@gmail.com>2013-07-15 07:28:02 +1000
commit629a9d77cd082834e12c14968f96708e28e62f3b (patch)
tree1a8e3051fe5657cbc0c1607d46ef1fdee98db395
parent9ca4733d9073a26d48794be7d8cc3ab0391d7569 (diff)
downloadceph-629a9d77cd082834e12c14968f96708e28e62f3b.tar.gz
Use mon_host instead of mon_addr in ceph_conf
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
-rw-r--r--src/client/hypertable/CephBroker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/hypertable/CephBroker.cc b/src/client/hypertable/CephBroker.cc
index 7008f30bb3c..9d64cfe1682 100644
--- a/src/client/hypertable/CephBroker.cc
+++ b/src/client/hypertable/CephBroker.cc
@@ -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");