From c4446e7cb5eaef19043e9a5f79a5ef92cc443fe2 Mon Sep 17 00:00:00 2001 From: secwall Date: Thu, 29 Aug 2024 11:26:33 +0200 Subject: [PATCH] Fix logger for zk host provider --- internal/dcs/zk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dcs/zk.go b/internal/dcs/zk.go index 9b54698..786deb0 100644 --- a/internal/dcs/zk.go +++ b/internal/dcs/zk.go @@ -73,7 +73,7 @@ func NewZookeeper(ctx context.Context, config *ZookeeperConfig, logger *slog.Log var operation func() error - hostProvider := NewRandomHostProvider(ctx, &config.RandomHostProvider, logger) + hostProvider := NewRandomHostProvider(ctx, &config.RandomHostProvider, proxyLogger) if config.UseSSL { if config.CACert == "" || config.KeyFile == "" || config.CertFile == "" {