elastic / connectors-ruby

Official Connector Clients for Elastic Elasticsearch, Enterprise Search, App Search and Workplace Search
https://www.elastic.co/guide/en/enterprise-search/master/index.html
Other
9 stars 17 forks source link

Fix: [MongoDB Connector] Missing aggregation pipeline crashes sync job #495

Closed timgrein closed 1 year ago

timgrein commented 1 year ago

Closes https://github.com/elastic/enterprise-search-team/issues/3487

We now check if a pipeline is nil and set it to an empty array, if that's the case, so the sync job won't crash.

Checklists

Pre-Review Checklist

github-actions[bot] commented 1 year ago

💚 Backport PR(s) successfully created

Status Branch Result
✅ 8.6 https://github.com/elastic/connectors-ruby/pull/496

This backport PR will be merged automatically after passing CI.