From 74476a2cfb584b49bab9da607ea8945b09f94985 Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 8 May 2019 18:37:53 +0800 Subject: [PATCH] typo --- sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.go b/sql.go index c68d31a..3af53bd 100644 --- a/sql.go +++ b/sql.go @@ -290,7 +290,7 @@ func loadMsgParsingRules() (map[int]MessageParsingRule, error) { m := make(map[int]MessageParsingRule) count := int(0) - rules, err := db.Query(`SELECT r.id, r.prio, r.descn, r.rule, r.msg_type_id FROM msg_rule r ORDER BY r.prio DESC;`) + rules, err := db.Query(`SELECT r.id, r.prio, r.descn, r.rule, r.msg_type_id FROM msg_rules r ORDER BY r.prio DESC;`) if err != nil { return m, err }