update
This commit is contained in:
1 parent
0690285147
commit
5618cd2738
154 files changed
+5021
-3161
No files matched your search
@@ -76,7 +76,7 @@ func (h *LogDSHandler) Create(c *gin.Context) {
|
||||
}
|
||||
ds := model.LogDataSource{
|
||||
Name: req.Name, Type: req.Type, URL: strings.TrimRight(req.URL, "/"),
|
||||
AuthType: normalizeLogDSAuthType(req.AuthType),
|
||||
AuthType: normalizeLogDSAuthType(req.AuthType),
|
||||
BasicAuth: req.BasicAuth, BasicAuthUser: req.BasicAuthUser, BasicAuthPass: req.BasicAuthPass,
|
||||
Token: req.Token, Headers: req.Headers,
|
||||
SkipTLSVerify: req.SkipTLSVerify, DefaultIndex: req.DefaultIndex,
|
||||
@@ -439,4 +439,4 @@ func normalizeLogDSAuthType(t string) string {
|
||||
default:
|
||||
return "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user