From cd59d9b99f894658207ee6470cfeab55c4dbaa1e Mon Sep 17 00:00:00 2001 From: deads2k Date: Mon, 17 Oct 2016 15:33:43 -0400 Subject: [PATCH] remove write only field --- pkg/genericapiserver/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/genericapiserver/config.go b/pkg/genericapiserver/config.go index 18c05c58f9f..beb61ce4f3f 100644 --- a/pkg/genericapiserver/config.go +++ b/pkg/genericapiserver/config.go @@ -122,10 +122,6 @@ type Config struct { // If nil or 0.0.0.0, the host's default interface will be used. PublicAddress net.IP - // Control the interval that pod, node IP, and node heath status caches - // expire. - CacheTimeout time.Duration - // The range of IPs to be assigned to services with type=ClusterIP or greater ServiceClusterIPRange *net.IPNet @@ -206,7 +202,6 @@ func NewConfig() *Config { MasterCount: 1, ReadWritePort: 6443, ServiceReadWritePort: 443, - CacheTimeout: 5 * time.Second, RequestContextMapper: api.NewRequestContextMapper(), BuildHandlerChainsFunc: DefaultBuildHandlerChain, LegacyAPIGroupPrefixes: sets.NewString(LegacyAPIPrefix),