]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
RadosModel.h: use default conf location
authorSamuel Just <samuel.just@dreamhost.com>
Mon, 31 Oct 2011 22:00:43 +0000 (15:00 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Mon, 31 Oct 2011 22:00:43 +0000 (15:00 -0700)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/test/osd/RadosModel.h

index 90349d33e5c496500b4034e9e5bf5fcbb2b22069..9637a4562479cb5cecefbe53f90821ec6ddb689d 100644 (file)
@@ -101,7 +101,8 @@ public:
     cont_gen(cont_gen), seq_num(0), seq(0)
   {
     rados.init(id);
-    rados.conf_read_file("ceph.conf");
+    rados.conf_read_file(NULL);
+    rados.conf_parse_env(NULL);
     rados.connect();
     rados.ioctx_create(pool_name.c_str(), io_ctx);
     char hostname_cstr[100];