Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 3f7baea

Browse files
committed
remove unnecessary function/file
1 parent c2ccac6 commit 3f7baea

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

publish/kafka/publish.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ func New(brokers []string, autoInterval bool) *mtPublisher {
197197
}
198198

199199
if autoInterval {
200-
schemas, err := getSchemas(schemasConf)
200+
schemas, err := conf.ReadSchemas(schemasConf)
201201
if err != nil {
202202
log.Fatalf("failed to load schemas config. %s", err)
203203
}
204-
mp.schemas = schemas
204+
mp.schemas = &schemas
205205
}
206206

207207
// We are looking for strong consistency semantics.

publish/kafka/schemas.go

-13
This file was deleted.

0 commit comments

Comments
 (0)