chaoss / grimoirelab-elk

GNU General Public License v3.0
59 stars 121 forks source link

[enriched/mattermost] Fix KeyError 'parent_id' #999

Closed zhquan closed 3 years ago

zhquan commented 3 years ago

From mattermost v5.38.0 (released 2021-08-16) the data parent_id does not longer exist.

This code fixes the error using the data root_id.

Signed-off-by: Quan Zhou quan@bitergia.com

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1142779502


Files with Coverage Reduction New Missed Lines %
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/mattermost.py 4 80.83%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 1140219269: -0.002%
Covered Lines: 8668
Relevant Lines: 10538

💛 - Coveralls