We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef04300 commit f7401b7Copy full SHA for f7401b7
center/integration/init.go
@@ -22,6 +22,14 @@ func Init(ctx *ctx.Context, builtinIntegrationsDir string) {
22
return
23
}
24
25
+ if res, err := models.ConfigsSelectByCkey(ctx, "disable_integration_init"); err != nil {
26
+ logger.Error("fail to get value 'disable_integration_init' from configs", err)
27
+ return
28
+ } else if len(res) != 0 {
29
+ logger.Info("disable_integration_init is set, skip integration init")
30
31
+ }
32
+
33
fp := builtinIntegrationsDir
34
if fp == "" {
35
fp = path.Join(runner.Cwd, "integrations")
0 commit comments