all: change refresh_time -> refetch_time

The custom config is refetched from API, not refresh.
This commit is contained in:
Cuong Manh Le
2024-08-12 14:15:49 +07:00
committed by Cuong Manh Le
parent a007394f60
commit 1634a06330
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ type ServiceConfig struct {
MetricsListener string `mapstructure:"metrics_listener" toml:"metrics_listener,omitempty"`
DnsWatchdogEnabled *bool `mapstructure:"dns_watchdog_enabled" toml:"dns_watchdog_enabled,omitempty"`
DnsWatchdogInvterval *time.Duration `mapstructure:"dns_watchdog_interval" toml:"dns_watchdog_interval,omitempty"`
RefreshTime *int `mapstructure:"refresh_time" toml:"refresh_time,omitempty"`
RefetchTime *int `mapstructure:"refetch_time" toml:"refetch_time,omitempty"`
Daemon bool `mapstructure:"-" toml:"-"`
AllocateIP bool `mapstructure:"-" toml:"-"`
}