Add secrets provider to streamd
Some checks failed
rolling-release / build (push) Has been cancelled
rolling-release / rolling-release (push) Has been cancelled

This commit is contained in:
Dmitrii Okunev
2025-08-09 20:41:47 +01:00
parent 25518214a2
commit c357224be8

View File

@@ -93,6 +93,9 @@ func main() {
ctx := context.Background()
ctx = logger.CtxWithLogger(ctx, l)
secretsProvider := observability.NewStaticSecretsProvider()
ctx = observability.WithSecretsProvider(ctx, secretsProvider)
if *netPprofAddr != "" || (forceNetPProfOnAndroid && runtime.GOOS == "android") {
observability.Go(ctx, func(ctx context.Context) {
if *netPprofAddr == "" {