update instructions for dashboard.

This commit is contained in:
Jason Kulatunga 2023-08-22 15:58:20 -07:00
parent 3db12ee4b8
commit dd50faab57
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ func GetDashboard(c *gin.Context) {
//- download the gist metadata
//- if more than 1 file found, look for a dashboard.json
//- check if the file sha exists on the file system (content-addressible file system)
//- if it doesnt,
//- if its not present, download it
//- if its not json, throw an error
//- if it doesnt match the dashboard config schema, throw an error.
for _, dashboardLocation := range dashboardLocations {
if strings.HasPrefix(dashboardLocation, "http") {