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

Commit

Permalink
remove unnecessary function/file
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzoh committed Jan 21, 2020
1 parent c2ccac6 commit 3f7baea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 2 additions & 2 deletions publish/kafka/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ func New(brokers []string, autoInterval bool) *mtPublisher {
}

if autoInterval {
schemas, err := getSchemas(schemasConf)
schemas, err := conf.ReadSchemas(schemasConf)
if err != nil {
log.Fatalf("failed to load schemas config. %s", err)
}
mp.schemas = schemas
mp.schemas = &schemas
}

// We are looking for strong consistency semantics.
Expand Down
13 changes: 0 additions & 13 deletions publish/kafka/schemas.go

This file was deleted.

0 comments on commit 3f7baea

Please sign in to comment.