Skip to content

Commit

Permalink
remove extra mappings for inner txs
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Oct 18, 2024
1 parent c6b93e6 commit f48c728
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 76 deletions.
14 changes: 1 addition & 13 deletions process/elasticproc/templatesAndPolicies/noKibana.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,5 @@ func (tr *templatesAndPolicyReaderNoKibana) GetElasticTemplatesAndPolicies() (ma

// GetExtraMappings will return an array of indices extra mappings
func (tr *templatesAndPolicyReaderNoKibana) GetExtraMappings() ([]templates.ExtraMapping, error) {
transactionsExtraMappings := templates.ExtraMapping{
Index: indexer.TransactionsIndex,
Mappings: noKibana.InnerTxs.ToBuffer(),
}
operationsExtraMappings := templates.ExtraMapping{
Index: indexer.OperationsIndex,
Mappings: noKibana.InnerTxs.ToBuffer(),
}

return []templates.ExtraMapping{
transactionsExtraMappings,
operationsExtraMappings,
}, nil
return []templates.ExtraMapping{}, nil
}
63 changes: 0 additions & 63 deletions templates/noKibana/innerTx.go

This file was deleted.

0 comments on commit f48c728

Please sign in to comment.