From 097a2be53189b62bbd27f38da24cdbf3ef769ffe Mon Sep 17 00:00:00 2001
From: Wen Zhou <wenzhou@redhat.com>
Date: Tue, 12 Sep 2023 08:27:19 +0200
Subject: [PATCH] Update path for downstream dashboard image to use

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
---
 components/dashboard/dashboard.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/dashboard/dashboard.go b/components/dashboard/dashboard.go
index caeff80cfe7..5d45a78f298 100644
--- a/components/dashboard/dashboard.go
+++ b/components/dashboard/dashboard.go
@@ -128,9 +128,9 @@ func (d *Dashboard) ReconcileComponent(owner metav1.Object, cli client.Client, s
 			}
 		}
 
-		// Update image parameters
+		// Update image parameters (ODH does not use this solution, only downstream)
 		if dscispec.DevFlags.ManifestsUri == "" {
-			if err := deploy.ApplyImageParams(Path, imageParamMap); err != nil {
+			if err := deploy.ApplyImageParams(PathSupported, imageParamMap); err != nil {
 				return err
 			}
 		}