Skip to content

Commit bafae37

Browse files
committed
chore: resolve merge conflict
Signed-off-by: Frederico Araujo <[email protected]>
2 parents 4b7facd + 980464e commit bafae37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/otel/kafkadriver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (s *KafkaDriver) Init(pipeline plugins.SFPipeline, config map[string]interf
7373

7474
err = consumer.SubscribeTopics(conf.Topics, nil)
7575
if err != nil {
76-
return fmt.Errorf("unable to subscribe to kafka topics %v: %v", conf.Topics, err)
76+
return fmt.Errorf("unable to subscribe to kafka topics: %v. Error: %v", conf.Topics, err)
7777
}
7878

7979
s.config = conf
@@ -97,7 +97,7 @@ func (s *KafkaDriver) Run(path string, running *bool) error {
9797
/* reads the message from the topics */
9898
msg, err := s.consumer.ReadMessage(-1)
9999
if err != nil {
100-
return fmt.Errorf("error reading message %s", err)
100+
return fmt.Errorf("error reading message %v", err)
101101
}
102102

103103
/* parses the message into an otel record log */

0 commit comments

Comments
 (0)