Skip to content

Commit

Permalink
Fix: Error Response from 7.2
Browse files Browse the repository at this point in the history
Error Syntax has changed to ERROR:
  • Loading branch information
a-spiker committed Sep 6, 2024
1 parent 76dfb07 commit 84e727a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/live_cluster/client/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,8 @@ async def info_latencies(
hist_info.append(await self._info(cmd))
except Exception:
return data
if hist_info[-1].startswith("error"):
# TOOLS-2964: Error came as ERROR for 7.2 onwards
if hist_info[-1].startswith("error") or hist_info[-1].startswith("ERROR"):
hist_info.pop()
continue

Expand Down

0 comments on commit 84e727a

Please sign in to comment.