Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain committed Feb 3, 2025
1 parent 988ac93 commit 79f77e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ir/xds.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ type Xds struct {
// Equal implements the Comparable interface used by watchable.DeepEqual to skip unnecessary updates.
func (x *Xds) Equal(y *Xds) bool {
// Deep copy to avoid modifying the original ordering.
t := x.DeepCopy()
t.sort()
x = x.DeepCopy()
x.sort()
y = y.DeepCopy()
y.sort()
return reflect.DeepEqual(x, y)
Expand Down

0 comments on commit 79f77e9

Please sign in to comment.