mirror of
https://github.com/tailscale/tailscale.git
synced 2025-06-29 03:28:41 +00:00
Update cmd/k8s-operator/operator.go
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com> Signed-off-by: Tom Meadows <tom@tmlabs.co.uk>
This commit is contained in:
parent
b2b8524414
commit
03a61f7f7e
@ -813,7 +813,7 @@ func proxyClassHandlerForSvc(cl client.Client, logger *zap.SugaredLogger) handle
|
||||
}
|
||||
|
||||
reqs := make([]reconcile.Request, 0)
|
||||
seenSvcs := make(set.Set[string], len(svcList.Items))
|
||||
seenSvcs := make(set.Set[string])
|
||||
for _, svc := range svcList.Items {
|
||||
reqs = append(reqs, reconcile.Request{NamespacedName: client.ObjectKeyFromObject(&svc)})
|
||||
seenSvcs.Add(fmt.Sprintf("%s/%s", svc.Namespace, svc.Name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user