ing
This commit is contained in:
parent
2d9981946a
commit
0632ba4b51
|
@ -2,7 +2,6 @@ package redis
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"log"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
@ -164,7 +163,7 @@ func (m *RedisMatcher) parseResponse(matchCtx *osm.MatchCtx, response string) {
|
||||||
scanner := bufio.NewScanner(strings.NewReader(response))
|
scanner := bufio.NewScanner(strings.NewReader(response))
|
||||||
for scanner.Scan() {
|
for scanner.Scan() {
|
||||||
line := scanner.Text()
|
line := scanner.Text()
|
||||||
log.Println(line)
|
// log.Println(line)
|
||||||
if strings.Compare(line, "") == 0 {
|
if strings.Compare(line, "") == 0 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user