Skip to content

Commit 3d660c5

Browse files
committed
return code change nil to error for out of range #12769
1 parent 4351d16 commit 3d660c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resp2_replies.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@
641641
],
642642
"LINDEX": [
643643
"One of the following:",
644-
"* [Nil reply](/docs/reference/protocol-spec#bulk-strings): when _index_ is out of range.",
644+
"* [Simple error reply](/docs/reference/protocol-spec#simple-errors): when _index_ is out of range.",
645645
"* [Bulk string reply](/docs/reference/protocol-spec#bulk-strings): the requested element."
646646
],
647647
"LINSERT": [

resp3_replies.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@
641641
],
642642
"LINDEX": [
643643
"One of the following:",
644-
"* [Null reply](/docs/reference/protocol-spec#nulls): when _index_ is out of range.",
644+
"* [Simple error reply](/docs/reference/protocol-spec#simple-errors): when _index_ is out of range.",
645645
"* [Bulk string reply](/docs/reference/protocol-spec#bulk-strings): the requested element."
646646
],
647647
"LINSERT": [

0 commit comments

Comments
 (0)