Skip to content

Commit

Permalink
fix(HMS-3000): update log statement for kafka
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Zapletal <[email protected]>
  • Loading branch information
lzap authored and ezr-ondrej committed Nov 21, 2023
1 parent 29729c2 commit ada8a82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
exclude: '(CHANGELOG.md|pull_request_template.md)'
2 changes: 1 addition & 1 deletion internal/kafka/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func NewKafkaBroker(ctx context.Context) (Broker, error) {
var saslMechanism sasl.Mechanism

logger := zerolog.Ctx(ctx)
logger.Info().Msgf("Setting up Kafka transport: %v Verify:%t CA:%t Auth:%s Proto:%sSASLMech:%s",
logger.Info().Msgf("Setting up Kafka transport: %v Verify:%t CA:%t Auth:%s Proto:%s SASLMech:%s",
config.Kafka.Brokers,
!config.Kafka.TlsSkipVerify,
config.Kafka.CACert != "",
Expand Down

0 comments on commit ada8a82

Please sign in to comment.