]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/suites/rados/rest: Don't pass empty dict as data arg 34520/head
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 31 Mar 2020 02:49:26 +0000 (12:49 +1000)
committerNathan Cutler <ncutler@suse.com>
Wed, 15 Apr 2020 20:40:05 +0000 (22:40 +0200)
commit3e6a17f0f79a75896f2ab619874f50c71a2a42b5
treeee751d0d329c1392834cce8815ef7c4be11f8b02
parentc62d4d91c15bd550c7c368feb550507e2b38fe38
qa/suites/rados/rest: Don't pass empty dict as data arg

Passing an empty 'args' dict as a data argument when calling
requests.get somehow confuses the transaction, causing it to fail. Pass
'None' instead.

Fixes: https://tracker.ceph.com/issues/43720
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit e20e6fc3295da836fb5f098d46d6190ab28195d5)
qa/workunits/rest/test_mgr_rest_api.py