From 9f74bbc4ffbe9deb600a35a68e7b13d9ac323119 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Sat, 2 Oct 2021 10:59:19 +0800 Subject: [PATCH] update --- core/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/init.go b/core/init.go index 919c032..6588ba0 100644 --- a/core/init.go +++ b/core/init.go @@ -30,7 +30,7 @@ func init() { scanner := bufio.NewScanner(file) for scanner.Scan() { line := scanner.Text() - if v := regexp.MustCompile(`^\s*set\s+(\S+)\s+(\S+)\s+(\S+.*)$`).FindStringSubmatch(line); len(v) > 0 { + if v := regexp.MustCompile(`^\s*set\s+(\S+)\s+(\S+)\s+(\S+.*)`).FindStringSubmatch(line); len(v) > 0 { b := Bucket(v[1]) if b.Get(v[2]) != v[3] { b.Set(v[2], v[3])