mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Prepare for the k8s api upgrade (#7293)
Don't explicitly set `RetryOnError` to `false`. It won't exist in the next version of the k8s api and it won't make a difference in this code since the struct would default to that. Signed-off-by: Kevin Lyda <kevin@lyda.ie>
This commit is contained in:
@@ -17,7 +17,6 @@ func NewIndexerInformer(lw cache.ListerWatcher, objType runtime.Object, h cache.
|
|||||||
ListerWatcher: lw,
|
ListerWatcher: lw,
|
||||||
ObjectType: objType,
|
ObjectType: objType,
|
||||||
FullResyncPeriod: defaultResyncPeriod,
|
FullResyncPeriod: defaultResyncPeriod,
|
||||||
RetryOnError: false,
|
|
||||||
Process: builder(clientState, h),
|
Process: builder(clientState, h),
|
||||||
}
|
}
|
||||||
return clientState, cache.New(cfg)
|
return clientState, cache.New(cfg)
|
||||||
|
|||||||
Reference in New Issue
Block a user