Skip to content

Commit bee002a

Browse files
authored
Merge pull request #348 from multiversx/small-fix-owners-scdeploys
Small fix scdeploys index
2 parents 4ee7b9e + 957a9a6 commit bee002a

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

process/elasticproc/elasticProcessor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func (ei *elasticProcessor) addExtraMappings(extraMappings []templates.ExtraMapp
144144
for _, mappingsTuple := range extraMappings {
145145
err := ei.elasticClient.PutMappings(mappingsTuple.Index, mappingsTuple.Mappings)
146146
if err != nil {
147-
return err
147+
log.Warn("cannot add extra mappings", "index", mappingsTuple.Index, "error", err)
148148
}
149149
}
150150

templates/indices/deploys.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ var SCDeploys = Object{
4747
},
4848
},
4949
"owners": Object{
50-
"type": "nested",
5150
"properties": Object{
5251
"timestamp": Object{
5352
"type": "date",

templates/indices/timestampMs.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ var DeploysTimestampMs = Object{
7070
},
7171
},
7272
"owners": Object{
73-
"type": "nested",
7473
"properties": Object{
7574
"timestampMs": Object{
7675
"type": "date",

0 commit comments

Comments
 (0)