Skip to content

Commit e7fcebd

Browse files
committed
the bot is right
1 parent f2221db commit e7fcebd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NRedisStack/ResponseParser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ public static Dictionary<string, string> ToConfigDictionary(this RedisResult val
668668
{
669669
// RESP2: jagged; [ [key, value] ]
670670
dict = new(value.Length);
671-
for (int i = 0; i < value.Length; i += 2)
671+
for (int i = 0; i < value.Length; i++)
672672
{
673673
var inner = value[i];
674674
dict.Add(inner[0].ToString(), inner[1].ToString());
@@ -885,7 +885,7 @@ public static Tuple<SearchResult, Dictionary<string, RedisResult>> ToProfileSear
885885
switch (results[i].ToString())
886886
{
887887
case "Results":
888-
results[i + 1].ToSearchResult(q);
888+
searchResult = results[i + 1].ToSearchResult(q);
889889
break;
890890
case "Profile":
891891
profile = results[i + 1].ToStringRedisResultDictionary();

0 commit comments

Comments
 (0)