Skip to content

Commit

Permalink
EnableConnTcpMetric
Browse files Browse the repository at this point in the history
  • Loading branch information
askuy committed Jun 7, 2024
1 parent 10d63fe commit 6aab1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/egovernor/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *Container) Build(options ...Option) *Component {
for _, option := range options {
option(c)
}
if c.config.EnableConnTcp {
if c.config.EnableConnTcpMetric {
obj, err := emetric.NewTCPStatCollector()
if err != nil {
c.logger.Panic("NewTCPStatCollector fail", elog.FieldErr(err))
Expand Down

0 comments on commit 6aab1ab

Please sign in to comment.