From 0036a26ab3eff5396594324ce8927615f1e8b4d7 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Tue, 24 Oct 2023 12:47:10 -0600 Subject: [PATCH] fix lint issue (#5892) Signed-off-by: Steve Kriss --- internal/xdscache/v3/endpointslicetranslator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/xdscache/v3/endpointslicetranslator.go b/internal/xdscache/v3/endpointslicetranslator.go index f930fc42c00..96d3886c94b 100644 --- a/internal/xdscache/v3/endpointslicetranslator.go +++ b/internal/xdscache/v3/endpointslicetranslator.go @@ -351,7 +351,7 @@ func (e *EndpointSliceTranslator) OnChange(root *dag.DAG) { } } -func (e *EndpointSliceTranslator) OnAdd(obj any, isInInitialList bool) { +func (e *EndpointSliceTranslator) OnAdd(obj any, _ bool) { switch obj := obj.(type) { case *discoveryv1.EndpointSlice: if !e.cache.UpdateEndpointSlice(obj) {