]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph.in: use rados.Rados.DEFAULT_CONF_FILES
authorKefu Chai <kchai@redhat.com>
Sun, 30 May 2021 04:31:05 +0000 (12:31 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 30 May 2021 04:31:39 +0000 (12:31 +0800)
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/ceph.in

index 85e3760fe5dbaa48b24b95d42cdf66530c00fc1c..3ebaed4af050373509c9be551a9b247c327025e3 100755 (executable)
@@ -975,8 +975,7 @@ def main():
     if parsed_args.client_name:
         name = parsed_args.client_name
 
-    # default '' means default conf search
-    conffile = ''
+    conffile = rados.Rados.DEFAULT_CONF_FILES
     if parsed_args.cephconf:
         conffile = parsed_args.cephconf
     # For now, --admin-daemon is handled as usual.  Try it