]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.in: pass parsed conffile to Rados constructor
authorDan Mick <dan.mick@inktank.com>
Tue, 18 Jun 2013 18:04:15 +0000 (11:04 -0700)
committerDan Mick <dan.mick@inktank.com>
Tue, 18 Jun 2013 21:22:40 +0000 (14:22 -0700)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/ceph.in

index 3bc73a81532b900e81dfb2f4de88077ee7d4e14b..eb62cf2b9b5975543251baf9ad925ddb49d934ed 100755 (executable)
@@ -1442,7 +1442,7 @@ def main():
         clustername = parsed_args.cluster
 
     cluster_handle = rados.Rados(name=name, clustername=clustername,
-                                 conf_defaults=conf_defaults, conffile='')
+                                 conf_defaults=conf_defaults, conffile=conffile)
 
     retargs = cluster_handle.conf_parse_argv(childargs)
     #tmp = childargs