diff options
author | Matt Benjamin <matt@cohortfs.com> | 2014-12-23 20:41:52 +0100 |
---|---|---|
committer | Matt Benjamin <matt@cohortfs.com> | 2015-01-14 22:41:40 +0100 |
commit | 4cbf2d5595fb40bb87a1402edd53abdbed0dd9c7 (patch) | |
tree | 2e445377f23e8b5a509dd04b271d7607b4b40cd0 /src/ceph_syn.cc | |
parent | msg: crc configuration in messenger (diff) | |
download | ceph-4cbf2d5595fb40bb87a1402edd53abdbed0dd9c7.tar.xz ceph-4cbf2d5595fb40bb87a1402edd53abdbed0dd9c7.zip |
Cosmetic: Normalize an entity_name_t initialization in ceph-syn.
Signed-off-by: Matt Benjamin <matt@cohortfs.com>
Diffstat (limited to 'src/ceph_syn.cc')
-rw-r--r-- | src/ceph_syn.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ceph_syn.cc b/src/ceph_syn.cc index d9954db42e5..71db206d785 100644 --- a/src/ceph_syn.cc +++ b/src/ceph_syn.cc @@ -65,9 +65,10 @@ int main(int argc, const char **argv, char *envp[]) cout << "ceph-syn: starting " << g_conf->num_client << " syn client(s)" << std::endl; for (int i=0; i<g_conf->num_client; i++) { - messengers[i] = Messenger::create(g_ceph_context, g_conf->ms_type, - entity_name_t(entity_name_t::TYPE_CLIENT,-1), "synclient", - i * 1000000 + getpid()); + messengers[i] = Messenger::create( + g_ceph_context, g_conf->ms_type, + entity_name_t(entity_name_t::TYPE_CLIENT,-1), "synclient", + i * 1000000 + getpid()); messengers[i]->bind(g_conf->public_addr); mclients[i] = new MonClient(g_ceph_context); mclients[i]->build_initial_monmap(); |