Skip to content

Commit 6e59907

Browse files
author
Jeny Sadadia
committed
src/send_kcidb: fix field_name
Signed-off-by: Jeny Sadadia <[email protected]>
1 parent 4ed796e commit 6e59907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/send_kcidb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def _parse_coverage_node(self, origin, node):
588588
self.log.warning(f"No measurement in node '{child['name']}' ({child['id']})")
589589
continue
590590
field_name = self._replace_restricted_chars(child['name'], r'^[a-zA-Z0-9_]*$')
591-
parsed_coverage_node['misc'][field] = child['data']['misc']['measurement']
591+
parsed_coverage_node['misc'][field_name] = child['data']['misc']['measurement']
592592

593593
# Add HTML coverage report to the build node's artifacts
594594
artifacts = node.get('artifacts')

0 commit comments

Comments
 (0)