Store: don't marshall/unmarshall the dashboard when building a summary (#57520)

* dont pretty print the dashboard

* stop marshalling the dashboard

* do not sanitize for searchV2

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Artur Wierzbicki
2022-10-25 09:39:17 +08:00
committed by GitHub
co-authored by Ryan McKinley
parent 749b3b6263
commit e485ddd13d
3 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func exportDashboards(helper *commitHelper, job *gitExportJob) error {
return err
}
reader := dashboard.NewStaticDashboardSummaryBuilder(lookup)
reader := dashboard.NewStaticDashboardSummaryBuilder(lookup, false)
// Process all folders
for _, row := range rows {