From 9bbd8645462ff644c0d766a5b1727119a9eb5899 Mon Sep 17 00:00:00 2001 From: zhangming <543802214@qq.com> Date: Sun, 16 Jul 2023 15:03:57 +0800 Subject: [PATCH] fixbug-group --- store/postgresql/config_file_release.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/postgresql/config_file_release.go b/store/postgresql/config_file_release.go index 7a50cc2..2b34e67 100644 --- a/store/postgresql/config_file_release.go +++ b/store/postgresql/config_file_release.go @@ -177,7 +177,7 @@ func (cfr *configFileReleaseStore) FindConfigFileReleaseByModifyTimeAfter( func (cfr *configFileReleaseStore) CountConfigFileReleaseEachGroup() (map[string]map[string]int64, error) { metricsSql := "SELECT namespace, \"group\", count(file_name) FROM config_file_release " + - " WHERE flag = 0 GROUP by namespace, group" + " WHERE flag = 0 GROUP by namespace, \"group\"" rows, err := cfr.slave.Query(metricsSql) if err != nil { return nil, store.Error(err)