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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user