- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for presentAddrs (0.12 sec)
-
pkg/controlplane/reconcilers/lease.go
// value was already found (the values) presentAddrs := make(map[string]bool, len(expectedIPs)) for _, ip := range expectedIPs { presentAddrs[ip] = false } // uniqueness is assumed amongst all Addresses. for _, addr := range sub.Addresses { if alreadySeen, ok := presentAddrs[addr.IP]; alreadySeen || !ok { ipsCorrect = false break } presentAddrs[addr.IP] = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 11.3K bytes - Viewed (0)