refactor(healthz): скрыть Server за интерфейсом

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-08-09 00:31:53 +03:00
parent bf2bceb520
commit 328f517543
2 changed files with 24 additions and 13 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ var (
) {
return cron.NewCronScheduler(expr, job)
}
newHealthz = func(port int) (*healthz.Server, error) {
newHealthz = func(port int) (healthz.Server, error) {
return healthz.New(port)
}
runOnceFunc = backup.RunOnce