Skip to content

Commit

Permalink
Fix logger for zk host provider
Browse files Browse the repository at this point in the history
  • Loading branch information
secwall committed Aug 30, 2024
1 parent 5d08842 commit c4446e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dcs/zk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit c4446e7

Please sign in to comment.