]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/rgw/rgw_multi: pass bytes to hmac.new()
authorKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 05:29:27 +0000 (13:29 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 13:51:23 +0000 (21:51 +0800)
commitadfcf08588e6031be837602dc4d1f8d6d14d795b
treecdabb7250b7afc9cf697d0ec0bc9955ae309c1bd
parent96ed9c87c0ca336d13b3da81bc26484426e24f28
test/rgw/rgw_multi: pass bytes to hmac.new()

in Python3, `key` passed to `hmac.new()` should be bytes or bytearray

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/rgw/rgw_multi/zone_ps.py