mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-19 06:59:50 +02:00
fixed healthchecker start even if disabled, simplified label parsing
This commit is contained in:
@@ -14,8 +14,8 @@ type HealthCheckConfig struct {
|
||||
Timeout time.Duration `json:"timeout" yaml:"timeout"`
|
||||
}
|
||||
|
||||
func DefaultHealthCheckConfig() HealthCheckConfig {
|
||||
return HealthCheckConfig{
|
||||
func DefaultHealthCheckConfig() *HealthCheckConfig {
|
||||
return &HealthCheckConfig{
|
||||
Interval: common.HealthCheckIntervalDefault,
|
||||
Timeout: common.HealthCheckTimeoutDefault,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user