From 2078811febb088e962b1498c4ecf811c468345c8 Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Sat, 28 Sep 2024 03:35:27 +0530 Subject: [PATCH] Fix mistake in horizon_controller.go This commit fixes mistake in GetLogger function in horizon_controller.go as to make it correctly work for horizontest --- controllers/horizontest_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/horizontest_controller.go b/controllers/horizontest_controller.go index fa40218a..d90c35f8 100644 --- a/controllers/horizontest_controller.go +++ b/controllers/horizontest_controller.go @@ -48,7 +48,7 @@ type HorizonTestReconciler struct { // GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields func (r *HorizonTestReconciler) GetLogger(ctx context.Context) logr.Logger { - return log.FromContext(ctx).WithName("Controllers").WithName("Tobiko") + return log.FromContext(ctx).WithName("Controllers").WithName("HorizonTest") } //+kubebuilder:rbac:groups=test.openstack.org,resources=horizontests,verbs=get;list;watch;create;update;patch;delete