refactor and typo fixes

This commit is contained in:
yusing
2024-11-02 03:14:47 +08:00
parent 76454df5e6
commit a86d316d07
34 changed files with 160 additions and 128 deletions

View File

@@ -37,7 +37,6 @@ func newMonitor(url types.URL, config *HealthCheckConfig, healthCheckFunc Health
config: config,
checkHealth: healthCheckFunc,
startTime: time.Now(),
task: task.DummyTask(),
}
mon.url.Store(url)
mon.status.Store(StatusHealthy)