From 94152ee9ba527dffc0e48654b909f6008b8e0c75 Mon Sep 17 00:00:00 2001 From: BenRub Date: Sun, 14 Mar 2021 18:23:27 +0200 Subject: [PATCH] Remove reconcile comments --- controllers/cbcontainerscluster_controller.go | 10 ---------- controllers/cbcontainersguardrails_controller.go | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/controllers/cbcontainerscluster_controller.go b/controllers/cbcontainerscluster_controller.go index f01c6675..193aec6c 100644 --- a/controllers/cbcontainerscluster_controller.go +++ b/controllers/cbcontainerscluster_controller.go @@ -37,16 +37,6 @@ type CBContainersClusterReconciler struct { // +kubebuilder:rbac:groups=operator.containers.carbonblack.io,resources=cbcontainersclusters,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=operator.containers.carbonblack.io,resources=cbcontainersclusters/status,verbs=get;update;patch // +kubebuilder:rbac:groups=operator.containers.carbonblack.io,resources=cbcontainersclusters/finalizers,verbs=update - -// Reconcile is part of the main kubernetes reconciliation loop which aims to -// move the current state of the cluster closer to the desired state. -// TODO(user): Modify the Reconcile function to compare the state specified by -// the CBContainersCluster object against the actual cluster state, and then -// perform operations to make the cluster state reflect the state specified by -// the user. -// -// For more details, check Reconcile and its Result here: -// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.0/pkg/reconcile func (r *CBContainersClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { _ = r.Log.WithValues("cbcontainerscluster", req.NamespacedName) diff --git a/controllers/cbcontainersguardrails_controller.go b/controllers/cbcontainersguardrails_controller.go index bc5c1e66..e9e6bf65 100644 --- a/controllers/cbcontainersguardrails_controller.go +++ b/controllers/cbcontainersguardrails_controller.go @@ -37,16 +37,6 @@ type CBContainersGuardrailsReconciler struct { // +kubebuilder:rbac:groups=operator.containers.carbonblack.io,resources=cbcontainersguardrails,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=operator.containers.carbonblack.io,resources=cbcontainersguardrails/status,verbs=get;update;patch // +kubebuilder:rbac:groups=operator.containers.carbonblack.io,resources=cbcontainersguardrails/finalizers,verbs=update - -// Reconcile is part of the main kubernetes reconciliation loop which aims to -// move the current state of the cluster closer to the desired state. -// TODO(user): Modify the Reconcile function to compare the state specified by -// the CBContainersGuardrails object against the actual cluster state, and then -// perform operations to make the cluster state reflect the state specified by -// the user. -// -// For more details, check Reconcile and its Result here: -// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.0/pkg/reconcile func (r *CBContainersGuardrailsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { _ = r.Log.WithValues("cbcontainersguardrails", req.NamespacedName)