Skip to content

Commit

Permalink
Remove unused client in reconciler
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Cesbron <[email protected]>
  • Loading branch information
MathieuCesbron committed Jan 21, 2024
1 parent 2e1ba97 commit 509b619
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func main() {
}

if err = (&controllers.RedisReconciler{
Client: mgr.GetClient(),
K8sClient: k8sclient,
Dk8sClient: dk8sClient,
Log: ctrl.Log.WithName("controllers").WithName("Redis"),
Expand All @@ -124,7 +123,6 @@ func main() {
os.Exit(1)
}
if err = (&controllers.RedisClusterReconciler{
Client: mgr.GetClient(),
K8sClient: k8sclient,
Dk8sClient: dk8sClient,
Log: ctrl.Log.WithName("controllers").WithName("RedisCluster"),
Expand All @@ -134,7 +132,6 @@ func main() {
os.Exit(1)
}
if err = (&controllers.RedisReplicationReconciler{
Client: mgr.GetClient(),
K8sClient: k8sclient,
Dk8sClient: dk8sClient,
Log: ctrl.Log.WithName("controllers").WithName("RedisReplication"),
Expand All @@ -144,7 +141,6 @@ func main() {
os.Exit(1)
}
if err = (&controllers.RedisSentinelReconciler{
Client: mgr.GetClient(),
K8sClient: k8sclient,
Dk8sClient: dk8sClient,
Log: ctrl.Log.WithName("controllers").WithName("RedisSentinel"),
Expand Down

0 comments on commit 509b619

Please sign in to comment.