]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/ceph_argparse.py: argument 'target' change to func 21659/head
authoryangdeliu <yangdeliu@szsandstone.com>
Sat, 28 Apr 2018 09:56:06 +0000 (17:56 +0800)
committeryangdeliu <yangdeliu@szsandstone.com>
Sat, 28 Apr 2018 09:56:06 +0000 (17:56 +0800)
commit6914bfb0b8e530393475cb7d1ff7c96977c3f94a
tree70ad64b9e7472cd015e9bba3ee2a8e47118669bc
parent35475e39e34f27863e4822dbdcf88084ae0e838a
pybind/ceph_argparse.py: argument 'target' change to func

'run_in_thread' first argument named 'target'.
It is confusing with cluster.mon_command last argument 'target=None'.
So change 'run_in_thread' and RadosThread 'target' to 'func'

Signed-off-by: yangdeliu <yangdeliu@szsandstone.com>
src/pybind/ceph_argparse.py