From 6c6f7f35bb646970eb2365c3fb92f5e4a533f5f7 Mon Sep 17 00:00:00 2001 From: Nityananda Gohain Date: Tue, 21 Jan 2025 12:38:17 +0530 Subject: [PATCH] fix: remove depricated message from ingestion dashboard remove depricated message from ingestion dashboard --- pkg/query-service/app/dashboards/model.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg/query-service/app/dashboards/model.go b/pkg/query-service/app/dashboards/model.go index 5e10eb26bd7..b54ba384d31 100644 --- a/pkg/query-service/app/dashboards/model.go +++ b/pkg/query-service/app/dashboards/model.go @@ -288,11 +288,7 @@ func GetDashboard(ctx context.Context, uuid string) (*Dashboard, *model.ApiError if err != nil { return nil, &model.ApiError{Typ: model.ErrorNotFound, Err: fmt.Errorf("no dashboard found with uuid: %s", uuid)} } - - if dashboard.Data["title"] == "Ingestion" && dashboard.Data["description"] != nil { - dashboard.Data["description"] = "This dashboard is deprecated. Please use the new Ingestion V2 dashboard. " + dashboard.Data["description"].(string) - } - + return &dashboard, nil }