Skip to content

Commit

Permalink
update instructions for dashboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Aug 22, 2023
1 parent 3db12ee commit dd50faa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/pkg/web/handler/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit dd50faa

Please # to comment.