mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Refactor cluster node code
This commit is contained in:
@@ -59,7 +59,7 @@ func DiffEqualer[T any, X Equaler[T]](listA []T, listB []X) ([]T, []X) {
|
||||
if visited[j] {
|
||||
continue
|
||||
}
|
||||
if listB[j].Equal(element) {
|
||||
if listB[j].Equal(element) == nil {
|
||||
visited[j] = true
|
||||
found = true
|
||||
break
|
||||
|
Reference in New Issue
Block a user