This commit is contained in:
crusader 2018-10-23 14:55:49 +09:00
parent 2d9981946a
commit 0632ba4b51

View File

@ -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
} }