diff options
author | Keith So <kso@eclipseoptions.com> | 2020-11-06 16:05:55 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 21:05:55 -0800 |
commit | 12325c09baefae2396f1083bc8b037603721198c (patch) | |
tree | 6b962c392773cf188ea6ebc8ec19bb7522283814 /kafka/protocol/commit.py | |
parent | b090b21f07a1c7b89afb5dc36114aa2d37c580f0 (diff) | |
download | kafka-python-12325c09baefae2396f1083bc8b037603721198c.tar.gz |
Only try to update sensors fetch lag if the unpacked list contains elements (#2158)
Previously, if the `unpacked` list was empty, the call to `unpacked[-1]` would throw an `IndexError: list index out of range`
Diffstat (limited to 'kafka/protocol/commit.py')
0 files changed, 0 insertions, 0 deletions