]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Add missing Messenger::create ms_type in test_msgr.
authorMatt Benjamin <matt@cohortfs.com>
Wed, 31 Dec 2014 16:34:46 +0000 (11:34 -0500)
committerMatt Benjamin <matt@cohortfs.com>
Wed, 14 Jan 2015 21:39:43 +0000 (16:39 -0500)
Fixes trivial build breakage.

Signed-off-by: Matt Benjamin <matt@cohortfs.com>
src/test/testmsgr.cc

index bcde69f8745c527de64b927c5ca8c270dd9e6f5b..312b23be216ecb10080ac8d0ea1692e33e080de0 100644 (file)
@@ -95,6 +95,7 @@ int main(int argc, const char **argv, const char *envp[]) {
   g_ceph_context->_conf->set_val("public_addr", sss.c_str());
   g_ceph_context->_conf->apply_changes(NULL);
   Messenger *rank = Messenger::create(g_ceph_context,
+                                     g_conf->ms_type,
                                      entity_name_t::MON(whoami), "tester",
                                      getpid());
   int err = rank->bind(g_ceph_context->_conf->public_addr);