mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-06 15:46:37 +08:00
[优化] 优化对主配置路径的存在性检查以增强健康检查逻辑
This commit is contained in:
@@ -268,6 +268,9 @@ func (r *Runner) refreshOpenrestyHealth(ctx context.Context) {
|
||||
return
|
||||
}
|
||||
if err := r.RuntimeManager.CheckHealth(ctx); err != nil {
|
||||
if strings.Contains(err.Error(), "openresty config not exists") {
|
||||
return
|
||||
}
|
||||
r.recordOpenrestyUnhealthy(err, true)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user