Skip to content

Commit

Permalink
fix: remove unnecessary field
Browse files Browse the repository at this point in the history
  • Loading branch information
sugihara1997 committed Jan 31, 2024
1 parent 03b3b29 commit ba1bd95
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions interfaces/opensearch/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ type (

openSearchBulkIndexerImpl struct {
osClient *opensearchapi.Client
queue chan *bulkIndexerItem
idBufs map[string][]*bytes.Buffer // The key is the object_id of the mongo doc.
config bulkIndexerConfig
}
Expand Down Expand Up @@ -230,7 +229,6 @@ func (o *OpenSearchImpl) NewBulkIndexer(ctx context.Context, client *opensearcha

bi := openSearchBulkIndexerImpl{
osClient: client,
queue: make(chan *bulkIndexerItem),
idBufs: make(map[string][]*bytes.Buffer),
config: biCfg,
}
Expand Down

0 comments on commit ba1bd95

Please sign in to comment.