Skip to content

Commit 44134be

Browse files
committed
CR comment - move the cache into the watcher and expose only the cache.Get method
1 parent a3e0243 commit 44134be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kube/ingress.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func NewIngressWatcher(
8282
ctx: ctxWithCancel,
8383
cancel: cancel,
8484
logger: dlxLogger.GetChild("watcher"),
85-
cache: ingresscache.NewIngressCache(dlxLogger.GetChild("cache")),
85+
cache: ingresscache.NewIngressCache(dlxLogger),
8686
factory: factory,
8787
informer: ingressInformer,
8888
resolveTargetsCallback: resolveTargetsCallback,

0 commit comments

Comments
 (0)