From 285514c48f6e07e7bd22ad7f7d3cbc41bad8c03d Mon Sep 17 00:00:00 2001 From: wxing1292 Date: Fri, 26 Mar 2021 14:27:19 -0700 Subject: [PATCH] Remove not used config for public client (#1410) * Remove `RefreshInterval` from public client config due to this variable not being used --- common/config/config.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/config/config.go b/common/config/config.go index 5784a2794c2..2a2d48da053 100644 --- a/common/config/config.go +++ b/common/config/config.go @@ -441,8 +441,6 @@ type ( PublicClient struct { // HostPort is the host port to connect on. Host can be DNS name HostPort string `yaml:"hostPort" validate:"nonzero"` - // interval to refresh DNS. Default to 10s - RefreshInterval time.Duration `yaml:"RefreshInterval"` } // NamespaceDefaults is the default config for each namespace