mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +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:
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user