Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ankaios_sdk/ankaios.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ def _read_from_control_interface(self) -> None:
# Check if we reached the last byte
if next_byte[0] & MOST_SIGNIFICANT_BIT_MASK == 0:
break
# Not worth unit testing
if not varint_buffer: # pragma: no cover
continue
# Decode the varint and receive the proto msg length
msg_len, _ = _DecodeVarint(varint_buffer, 0)

Expand Down