Skip to content

Commit

Permalink
remove log Error
Browse files Browse the repository at this point in the history
  • Loading branch information
meiji163 committed Jun 17, 2024
1 parent ad46de0 commit a3cc2c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/throttle/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (

"github.com/github/freno/pkg/base"
"github.com/github/freno/pkg/mysql"
"github.com/outbrain/golib/log"
)

func aggregateMySQLProbes(
Expand All @@ -32,7 +31,6 @@ func aggregateMySQLProbes(

value, err := instanceMetricResult.Get()
if err != nil {
log.Errorf("error getting metric from %s: %v", probe.Key.Hostname, err)
if ignoreDialTcpErrors && base.IsDialTcpError(err) {
continue
}
Expand Down

0 comments on commit a3cc2c0

Please sign in to comment.