From c7b919db38929c702aaced8b94f23ee5e1a52938 Mon Sep 17 00:00:00 2001 From: Sedef Savas Date: Fri, 10 Dec 2021 03:53:24 -0800 Subject: [PATCH] Remove unnecessary log from AWSInstanceState controller --- exp/instancestate/awsinstancestate_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp/instancestate/awsinstancestate_controller.go b/exp/instancestate/awsinstancestate_controller.go index 09cb603506..3dfbc2c2ab 100644 --- a/exp/instancestate/awsinstancestate_controller.go +++ b/exp/instancestate/awsinstancestate_controller.go @@ -87,8 +87,8 @@ func (r *AwsInstanceStateReconciler) Reconcile(ctx context.Context, req ctrl.Req // Handle deleted clusters if !awsCluster.DeletionTimestamp.IsZero() { - r.Log.Info("cluster deleted, removing queue URL", "cluster", awsCluster.Name) r.queueURLs.Delete(req.Name) + return reconcile.Result{}, nil } // retrieve queue URL if it isn't already tracked