From f0b574121c4e727315e9c9a3bfb5fb16efd12592 Mon Sep 17 00:00:00 2001 From: Mathieu Cesbron Date: Sun, 28 Jan 2024 17:47:06 +0100 Subject: [PATCH] Remove useless comments --- controllers/redis_controller.go | 1 - controllers/rediscluster_controller.go | 1 - controllers/redisreplication_controller.go | 1 - controllers/redissentinel_controller.go | 1 - 4 files changed, 4 deletions(-) diff --git a/controllers/redis_controller.go b/controllers/redis_controller.go index e14bf8cd5..9524cc240 100644 --- a/controllers/redis_controller.go +++ b/controllers/redis_controller.go @@ -40,7 +40,6 @@ type RedisReconciler struct { Scheme *runtime.Scheme } -// Reconcile is part of the main kubernetes reconciliation loop which aims func (r *RedisReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { reqLogger := r.Log.WithValues("Request.Namespace", req.Namespace, "Request.Name", req.Name) reqLogger.Info("Reconciling opstree redis controller") diff --git a/controllers/rediscluster_controller.go b/controllers/rediscluster_controller.go index 7b10eee15..6c24bf3ec 100644 --- a/controllers/rediscluster_controller.go +++ b/controllers/rediscluster_controller.go @@ -42,7 +42,6 @@ type RedisClusterReconciler struct { Scheme *runtime.Scheme } -// Reconcile is part of the main kubernetes reconciliation loop func (r *RedisClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { reqLogger := r.Log.WithValues("Request.Namespace", req.Namespace, "Request.Name", req.Name) reqLogger.Info("Reconciling opstree redis Cluster controller") diff --git a/controllers/redisreplication_controller.go b/controllers/redisreplication_controller.go index defc3e6d2..ebdafce9e 100644 --- a/controllers/redisreplication_controller.go +++ b/controllers/redisreplication_controller.go @@ -26,7 +26,6 @@ type RedisReplicationReconciler struct { } func (r *RedisReplicationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { - reqLogger := r.Log.WithValues("Request.Namespace", req.Namespace, "Request.Name", req.Name) reqLogger.Info("Reconciling opstree redis replication controller") instance := &redisv1beta2.RedisReplication{} diff --git a/controllers/redissentinel_controller.go b/controllers/redissentinel_controller.go index 42b117672..ae2b757a9 100644 --- a/controllers/redissentinel_controller.go +++ b/controllers/redissentinel_controller.go @@ -24,7 +24,6 @@ type RedisSentinelReconciler struct { Scheme *runtime.Scheme } -// Reconcile is part of the main kubernetes reconciliation loop which aims func (r *RedisSentinelReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { reqLogger := r.Log.WithValues("Request.Namespace", req.Namespace, "Request.Name", req.Name) reqLogger.Info("Reconciling opstree redis controller")