]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: don't override with args when it's empty 39690/head
authorRishabh Dave <ridave@redhat.com>
Wed, 24 Feb 2021 19:53:56 +0000 (01:23 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 1 Mar 2021 13:08:55 +0000 (18:38 +0530)
commit793980ec0e9e7c8be990e2fd75c50883a4ac1093
tree052ca7b1d83e41db316394299e9909db2086b54a
parentd1a0608b50a99a99de8bf5e0a7f79b72df9c9768
qa: don't override with args when it's empty

In methods raw_cluster_cmd_result() of CephManager and LocalCephManager
and raw_cluster_cmd of LocalCephManager when keyword arguments are
passed instead of positional arguments, the methods run ceph command
with no arguments. This is because the methods do
"kwargs['args'] = args" unconditionally.

Fixes: https://tracker.ceph.com/issues/49486
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/ceph_manager.py
qa/tasks/vstart_runner.py