From a9022f42620f1dd0741c391c20c95f6609c109f5 Mon Sep 17 00:00:00 2001 From: Igor Beliakov <46579601+weisdd@users.noreply.github.com> Date: Sat, 6 May 2023 06:58:15 +0200 Subject: [PATCH] fix: ignore folder case in dashboard controller (#1036) --- controllers/dashboard_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/dashboard_controller.go b/controllers/dashboard_controller.go index 834bb7ac4..cb03938db 100644 --- a/controllers/dashboard_controller.go +++ b/controllers/dashboard_controller.go @@ -480,7 +480,7 @@ func (r *GrafanaDashboardReconciler) GetFolderID(client *grapi.Client, } for _, folder := range folders { - if folder.Title == cr.Spec.FolderTitle { + if strings.EqualFold(folder.Title, cr.Spec.FolderTitle) { return folder.ID, nil } continue