Skip to content

Commit c357224

Browse files
committed
Add secrets provider to streamd
1 parent 2551821 commit c357224

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmd/streamd/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ func main() {
9393
ctx := context.Background()
9494
ctx = logger.CtxWithLogger(ctx, l)
9595

96+
secretsProvider := observability.NewStaticSecretsProvider()
97+
ctx = observability.WithSecretsProvider(ctx, secretsProvider)
98+
9699
if *netPprofAddr != "" || (forceNetPProfOnAndroid && runtime.GOOS == "android") {
97100
observability.Go(ctx, func(ctx context.Context) {
98101
if *netPprofAddr == "" {

0 commit comments

Comments
 (0)