Skip to content

Commit

Permalink
fix lint issue (#5892)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kriss <[email protected]>
  • Loading branch information
skriss authored Oct 24, 2023
1 parent a216475 commit 0036a26
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 0036a26

Please sign in to comment.