Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
vulnerability->vulnerabilities for consistent index naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbryner committed Jan 30, 2015
1 parent 73d210b commit c0218c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mq/plugins/vulnerability.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def onMessage(self, message, metadata):
return (None, None)
metadata['id'] = self.calculate_id(message)
metadata['doc_type'] = 'vulnerability_state'
metadata['index'] = 'vulnerability'
metadata['index'] = 'vulnerabilities'
return (message, metadata)

class MessageTestFunctions(unittest.TestCase):
Expand Down

0 comments on commit c0218c0

Please sign in to comment.