Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Jul 8, 2024
1 parent e632bc2 commit 643032a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/elasticClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func (ec *elasticClient) CheckAndCreateIndex(indexName string) error {
return ec.createIndex(indexName)
}

// PutMappings will put the provided mappings to a given index
func (ec *elasticClient) PutMappings(indexName string, mappings *bytes.Buffer) error {
res, err := ec.client.Indices.PutMapping(
mappings,
Expand Down
1 change: 1 addition & 0 deletions process/elasticproc/templatesAndPolicies/withKibana.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func (tr *templatesAndPolicyReaderWithKibana) GetElasticTemplatesAndPolicies() (
return indexTemplates, indexPolicies, nil
}

// GetExtraMappings will return an array of indices extra mappings
func (tr *templatesAndPolicyReaderWithKibana) GetExtraMappings() ([]templates.ExtraMapping, error) {
return []templates.ExtraMapping{}, nil
}
Expand Down

0 comments on commit 643032a

Please sign in to comment.