Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiAbyss committed Aug 12, 2024
1 parent 99fbfe6 commit dbe7e27
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions checks/dbshard.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ var (
checkSpErrCodeMetrics []prometheus.Gauge
)

func initMetrics() {}

func CheckDbShard(checkEnv, checkRpc string, checkSpHosts []string) {
if checkBlockMetrics == nil {
checkBlockMetrics = promauto.NewGauge(prometheus.GaugeOpts{Name: fmt.Sprintf("%v_sp_db_shard_check_block_height", checkEnv)})
Expand Down

0 comments on commit dbe7e27

Please sign in to comment.