Skip to content

Commit 4cb04ac

Browse files
docs: add missing uint64 count prefix to ServersResponse docstring
The docstring said "Body: repeated (...)" but the actual wire format starts with a uint64 node count, matching FilesResponse's documented format. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 78b176b commit 4cb04ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dqlitewire/messages/responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ class NodeInfo:
497497
class ServersResponse(Message):
498498
"""Cluster servers response.
499499
500-
Body: repeated (uint64 node_id, text address, uint64 role)
500+
Body: uint64 count, then repeated (uint64 node_id, text address, uint64 role)
501501
"""
502502

503503
MSG_TYPE: ClassVar[int] = ResponseType.SERVERS

0 commit comments

Comments
 (0)