Skip to content

Commit

Permalink
Fix attribute in reference element of OVAL definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Honny1 committed Nov 22, 2023
1 parent a66282e commit 105bd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssg/oval_object_model/oval_entities/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,4 +461,4 @@ def translate_id(self, translator, store_defname=False):
super(Definition, self).translate_id(translator, store_defname)
self.criteria.translate_id(translator)
if store_defname:
self.metadata.add_reference(self.id_, translator.content_id)
self.metadata.add_reference(self.name, translator.content_id)

0 comments on commit 105bd84

Please sign in to comment.