Skip to content

Commit

Permalink
fix: tagrecorder host error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochaoren1 committed Jan 14, 2025
1 parent a6ed86a commit 2ba743b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/controller/tagrecorder/dictionary.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ func (c *Dictionary) update(clickHouseCfg *clickhouse.ClickHouseConfig) {
username = c.cfg.PostgreSQLCfg.UserName
password = c.cfg.PostgreSQLCfg.UserPassword
if c.cfg.PostgreSQLCfg.ProxyHost != "" {
host = c.cfg.PostgreSQLCfg.ProxyHost
host = "HOST '" + c.cfg.PostgreSQLCfg.ProxyHost + "' "
port = c.cfg.PostgreSQLCfg.ProxyPort
} else {
host = c.cfg.PostgreSQLCfg.Host
host = "HOST '" + c.cfg.PostgreSQLCfg.Host + "' "
port = c.cfg.PostgreSQLCfg.Port
}
} else if c.cfg.MySqlCfg.Enabled {
Expand Down

0 comments on commit 2ba743b

Please sign in to comment.