mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Fix deserialization of tenant field in 7.1
This commit is contained in:
parent
1531875425
commit
57f5ca2522
@ -194,7 +194,8 @@ class BaseInfo(object):
|
|||||||
if protocol_version >= PROTOCOL_VERSION_6_3:
|
if protocol_version >= PROTOCOL_VERSION_6_3:
|
||||||
self.dc_id = bb.get_bytes_with_length()
|
self.dc_id = bb.get_bytes_with_length()
|
||||||
if protocol_version >= PROTOCOL_VERSION_7_1:
|
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):
|
class GetVersionInfo(BaseInfo):
|
||||||
def __init__(self, bb, protocol_version):
|
def __init__(self, bb, protocol_version):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user