Use only one document on elastic
This commit is contained in:
parent
9efa495b0e
commit
8e2b474fc7
@ -54,7 +54,7 @@ func (est *elasticSearchTransport) Transport(evt TracerTransportEvent) error {
|
|||||||
docId = ElasticSearch_DOC_LOTUS
|
docId = ElasticSearch_DOC_LOTUS
|
||||||
} else if evt.pubsubTraceEvent != nil {
|
} else if evt.pubsubTraceEvent != nil {
|
||||||
e = *evt.pubsubTraceEvent
|
e = *evt.pubsubTraceEvent
|
||||||
docId = ElasticSearch_DOC_PUBSUB
|
docId = ElasticSearch_DOC_LOTUS
|
||||||
} else {
|
} else {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user