[management merge only unique entries on network map merge (#3277)

This commit is contained in:
Pascal Fischer
2025-02-05 16:50:45 +01:00
committed by GitHub
parent b2a5b29fb2
commit 035c5d9f23
13 changed files with 216 additions and 19 deletions

View File

@@ -132,8 +132,8 @@ func (r *Route) Copy() *Route {
return route
}
// IsEqual compares one route with the other
func (r *Route) IsEqual(other *Route) bool {
// Equal compares one route with the other
func (r *Route) Equal(other *Route) bool {
if r == nil && other == nil {
return true
} else if r == nil || other == nil {