]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: test_mon_workloadgen: use default config file path
authorSage Weil <sage@inktank.com>
Tue, 19 Feb 2013 17:08:57 +0000 (09:08 -0800)
committerSage Weil <sage@inktank.com>
Tue, 19 Feb 2013 17:08:57 +0000 (09:08 -0800)
I'm not sure why we wouldn't.  Also, this makes this test work without
annoying plumbing to pass the explicit path through.

Signed-off-by: Sage Weil <sage@inktank.com>
src/test/mon/test_mon_workloadgen.cc

index fa072dfeea51b924c696aeddb0c445b6e60062a2..fcc69d85f0b05e6afcb939e457fb8533d2e7c5c2 100644 (file)
@@ -989,7 +989,7 @@ int main(int argc, const char *argv[])
 
   global_init(&def_args, args,
              CEPH_ENTITY_TYPE_OSD, CODE_ENVIRONMENT_UTILITY,
-             CINIT_FLAG_NO_DEFAULT_CONFIG_FILE);
+             0);
 
   common_init_finish(g_ceph_context);
   g_ceph_context->_conf->apply_changes(NULL);