提交 76905c55 编写于 作者: N ning

refactor: loki datasource check

上级 d4bce545
......@@ -125,8 +125,6 @@ func DatasourceCheck(ds models.Datasource) error {
query := url.Values{}
if strings.Contains(fullURL, "loki") {
subPath = "/api/v1/labels"
query.Add("start", "1")
query.Add("end", "2")
} else {
query.Add("query", "1+1")
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册