Skip to content

Commit

Permalink
fix: correct details folder name while import
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Jun 5, 2024
1 parent f2d075c commit f058256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/tools/grafana/grafana.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ func initImportVars() {
// default behaviour
switch {
case opts.dir == "grafana/dashboards" && opts.serverfolder.name == "":
m[filepath.Join(opts.dir, "cmode")] = &Folder{name: "Harvest-main-cDOT"}
m[filepath.Join(opts.dir, "cmode", "details")] = &Folder{name: "Harvest-main-cDOT Details"}
m[filepath.Join(opts.dir, "cmode")] = &Folder{name: "Harvest-main-cDOT"}
m[filepath.Join(opts.dir, "cmode-details")] = &Folder{name: "Harvest-main-cDOT Details"}
m[filepath.Join(opts.dir, "7mode")] = &Folder{name: "Harvest-main-7mode"}
m[filepath.Join(opts.dir, "storagegrid")] = &Folder{name: "Harvest-main-StorageGrid"}
case opts.dir != "" && opts.serverfolder.name != "":
Expand Down

0 comments on commit f058256

Please sign in to comment.