]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/ceph_argparse.py
update sources to v12.2.3
[ceph.git] / ceph / src / pybind / ceph_argparse.py
index cc96d7708dc95668453e0d3374a333ca751f9b8f..3855135df6bd6b3c1aa808bb4fc68eb7e2dcb03d 100644 (file)
@@ -1284,9 +1284,7 @@ def send_command(cluster, target=('mon', ''), cmd=None, inbuf=b'', timeout=0,
             except ImportError:
                 raise RuntimeError("CephFS unavailable, have you installed libcephfs?")
 
-            filesystem = LibCephFS(cluster.conf_defaults, cluster.conffile)
-            filesystem.conf_parse_argv(cluster.parsed_args)
-
+            filesystem = LibCephFS(rados_inst=cluster)
             filesystem.init()
             ret, outbuf, outs = \
                 filesystem.mds_command(mds_spec, cmd, inbuf)