diff --git a/core/stat/alert.go b/core/stat/alert.go index c08d8f06..620dae29 100644 --- a/core/stat/alert.go +++ b/core/stat/alert.go @@ -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 ( @@ -24,7 +23,7 @@ const ( ) var ( - reporter = utils.Report + reporter func(string) lock sync.RWMutex lessExecutor = executors.NewLessExecutor(time.Minute * 5) dropped int32 diff --git a/core/utils/report.go b/core/utils/report.go deleted file mode 100644 index e3a11c39..00000000 --- a/core/utils/report.go +++ /dev/null @@ -1,5 +0,0 @@ -package utils - -func Report(content string) { - // TODO: implement the report method -}