From 3d660c58fe8ba2d2bbeb301d858f2fca1763916b Mon Sep 17 00:00:00 2001 From: hwware Date: Wed, 15 Nov 2023 22:31:10 +0000 Subject: [PATCH] return code change nil to error for out of range #12769 --- resp2_replies.json | 2 +- resp3_replies.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resp2_replies.json b/resp2_replies.json index fb590709cc..3753a8a6d3 100644 --- a/resp2_replies.json +++ b/resp2_replies.json @@ -641,7 +641,7 @@ ], "LINDEX": [ "One of the following:", - "* [Nil reply](/docs/reference/protocol-spec#bulk-strings): when _index_ is out of range.", + "* [Simple error reply](/docs/reference/protocol-spec#simple-errors): when _index_ is out of range.", "* [Bulk string reply](/docs/reference/protocol-spec#bulk-strings): the requested element." ], "LINSERT": [ diff --git a/resp3_replies.json b/resp3_replies.json index addd0867dc..74507a81e7 100644 --- a/resp3_replies.json +++ b/resp3_replies.json @@ -641,7 +641,7 @@ ], "LINDEX": [ "One of the following:", - "* [Null reply](/docs/reference/protocol-spec#nulls): when _index_ is out of range.", + "* [Simple error reply](/docs/reference/protocol-spec#simple-errors): when _index_ is out of range.", "* [Bulk string reply](/docs/reference/protocol-spec#bulk-strings): the requested element." ], "LINSERT": [