修复大盘目录错误 (#910)
This commit is contained in:
parent
a20e19922e
commit
ee8c367933
|
@ -88,7 +88,7 @@ func alertRuleBuiltinImport(c *gin.Context) {
|
|||
}
|
||||
|
||||
func dashboardBuiltinList(c *gin.Context) {
|
||||
fp := config.C.BuiltinAlertsDir
|
||||
fp := config.C.BuiltinDashboardsDir
|
||||
if fp == "" {
|
||||
fp = path.Join(runner.Cwd, "etc", "dashboards")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue