]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/suites/rados/rest: Don't pass empty dict as data arg 34521/head
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 31 Mar 2020 02:49:26 +0000 (12:49 +1000)
committerNathan Cutler <ncutler@suse.com>
Sat, 11 Apr 2020 09:59:31 +0000 (11:59 +0200)
commit36917d7cf34e92c434a6cd4db5cccc4454f2641a
tree3da4bdfe7be1ea743f0428c01bc7270f71e59bf5
parentecd14d3b5b6323ef1815f29415c75b73a8b07c3c
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