Fix deserialization of tenant field in 7.1

This commit is contained in:
Bala Namasivayam 2022-05-09 19:12:12 -07:00
parent 1531875425
commit 57f5ca2522
1 changed files with 2 additions and 1 deletions

View File

@ -194,7 +194,8 @@ class BaseInfo(object):
if protocol_version >= PROTOCOL_VERSION_6_3:
self.dc_id = bb.get_bytes_with_length()
if protocol_version >= PROTOCOL_VERSION_7_1:
self.tenant = bb.get_bytes_with_length()
if bb.get_bytes(1):
self.tenant = bb.get_bytes_with_length()
class GetVersionInfo(BaseInfo):
def __init__(self, bb, protocol_version):