Skip to content

Commit

Permalink
fixbug-group
Browse files Browse the repository at this point in the history
  • Loading branch information
bingxindan committed Jul 16, 2023
1 parent a51b08c commit 9bbd864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/postgresql/config_file_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9bbd864

Please sign in to comment.