fix(secretstores): Skip dbus connection with kwallet (#13489)

This commit is contained in:
Joshua Powers 2023-06-27 09:14:30 -06:00 committed by GitHub
parent f2a1101581
commit b187de0475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -369,6 +369,9 @@ func runApp(args []string, outputBuffer io.Writer, pprof Server, c TelegrafConfi
}
func main() {
// #13481: disables gh:99designs/keyring kwallet.go from connecting to dbus
os.Setenv("DISABLE_KWALLET", "1")
agent := Telegraf{}
pprof := NewPprofServer()
c := config.NewConfig()