mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-10 02:43:37 +02:00
fixed healthcheck failed to disable and nil dereference
This commit is contained in:
@@ -64,5 +64,5 @@ func UseIdleWatcher(entry Entry) bool {
|
||||
|
||||
func UseHealthCheck(entry Entry) bool {
|
||||
hc := entry.HealthCheckConfig()
|
||||
return hc != nil && !hc.Disabled
|
||||
return hc != nil && !hc.Disable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user