update instructions for dashboard.
This commit is contained in:
parent
3db12ee4b8
commit
dd50faab57
|
@ -36,7 +36,9 @@ func GetDashboard(c *gin.Context) {
|
||||||
//- download the gist metadata
|
//- download the gist metadata
|
||||||
//- if more than 1 file found, look for a dashboard.json
|
//- 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)
|
//- 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 {
|
for _, dashboardLocation := range dashboardLocations {
|
||||||
if strings.HasPrefix(dashboardLocation, "http") {
|
if strings.HasPrefix(dashboardLocation, "http") {
|
||||||
|
|
Loading…
Reference in New Issue