fix: error formatting

This commit is contained in:
yusing
2025-05-14 20:34:41 +08:00
parent 023cbc81bc
commit 8b3e058885
3 changed files with 7 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ type (
}
)
var ErrNegativeInterval = errors.New("negative interval")
var ErrNegativeInterval = gperr.New("negative interval")
func NewMonitor(r routes.Route) health.HealthMonCheck {
var mon health.HealthMonCheck