From ee8c367933b66a1be15a50a11dadb65f234888d5 Mon Sep 17 00:00:00 2001 From: zheng Date: Wed, 13 Apr 2022 18:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=A7=E7=9B=98=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E9=94=99=E8=AF=AF=20(#910)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/webapi/router/router_builtin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webapi/router/router_builtin.go b/src/webapi/router/router_builtin.go index 70ca4a3a..cb5cba19 100644 --- a/src/webapi/router/router_builtin.go +++ b/src/webapi/router/router_builtin.go @@ -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") }