]> 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
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:54:24 +0000 (11:54 +0200)
commit46083b6fd5e63e5927e0ff72f56dfb3fad07ecae
tree6eec3ab072986d6f39fce2cb6fd896fb1d4a431e
parent9fd2f65f91d9246fae2c841a6222d34d121680ee
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