Skip to content

Commit

Permalink
remove utils.Report
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan committed Aug 17, 2020
1 parent d4e38cb commit 0214161
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions core/stat/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/tal-tech/go-zero/core/proc"
"github.com/tal-tech/go-zero/core/sysx"
"github.com/tal-tech/go-zero/core/timex"
"github.com/tal-tech/go-zero/core/utils"
)

const (
Expand All @@ -24,7 +23,7 @@ const (
)

var (
reporter = utils.Report
reporter func(string)
lock sync.RWMutex
lessExecutor = executors.NewLessExecutor(time.Minute * 5)
dropped int32
Expand Down
5 changes: 0 additions & 5 deletions core/utils/report.go

This file was deleted.

0 comments on commit 0214161

Please sign in to comment.