Skip to content

Commit a3f48f7

Browse files
fix: negate endpoint slice check
1 parent 3ab3c95 commit a3f48f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comp/core/autodiscovery/listeners/kube_endpointslices.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func (l *KubeEndpointSlicesListener) endpointSlicesDiffer(first, second *discv1.
335335
return true
336336
}
337337

338-
return equality.Semantic.DeepEqual(first, second)
338+
return !equality.Semantic.DeepEqual(first, second)
339339
}
340340

341341
// isEndpointSlicesAnnotated looks for the corresponding service of a kubernetes endpointslice object

0 commit comments

Comments
 (0)