Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kriss <[email protected]>
  • Loading branch information
skriss committed Oct 24, 2023
1 parent a216475 commit 34e114f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/xdscache/v3/endpointslicetranslator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 34e114f

Please sign in to comment.