Remove unused scheme passed to reconcilers (#121)

The scheme is part of the manager so we do not need to pass it in the
struct.
This commit is contained in:
Philip Laine
2026-03-12 21:39:56 +01:00
committed by GitHub
parent 81f7a2bd51
commit 0fde3631b2
13 changed files with 23 additions and 57 deletions
@@ -48,7 +48,6 @@ var _ = Describe("NBRoutingPeer Controller", func() {
netbirdClient = netbird.New(server.URL, "ABC")
controllerReconciler = &NBRoutingPeerReconciler{
Client: k8sClient,
Scheme: k8sClient.Scheme(),
netbird: netbirdClient,
ClientImage: "netbirdio/netbird:latest",
ClusterName: "kubernetes",