diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-06-09 16:08:14 -0700 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-06-09 16:08:14 -0700 |
commit | e6349ec2e0ff65d78e2606843660cf4e5841d5d5 (patch) | |
tree | 019a39ee0d061f3464ad68ca9058b4aeb264662b /src/cmds.cc | |
parent | 4ef41c5ab3eb75ada797225f8cc8ebfb1a2c8134 (diff) | |
download | ceph-e6349ec2e0ff65d78e2606843660cf4e5841d5d5.tar.gz |
Dispatcher should take a CephContext argument
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/cmds.cc')
-rw-r--r-- | src/cmds.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds.cc b/src/cmds.cc index 0b77d466cb5..3f7f3e05e00 100644 --- a/src/cmds.cc +++ b/src/cmds.cc @@ -62,7 +62,7 @@ void usage() static int do_cmds_special_action(const std::string &action, const std::string &dump_file, int rank) { - SimpleMessenger *messenger = new SimpleMessenger(); + SimpleMessenger *messenger = new SimpleMessenger(&g_ceph_context); messenger->bind(getpid()); MonClient mc(&g_ceph_context); if (mc.build_initial_monmap() < 0) @@ -197,7 +197,7 @@ int main(int argc, const char **argv) usage(); } - SimpleMessenger *messenger = new SimpleMessenger(); + SimpleMessenger *messenger = new SimpleMessenger(&g_ceph_context); messenger->bind(getpid()); cout << "starting " << g_conf->name << " at " << messenger->get_ms_addr() << std::endl; |