Skip to content

Commit

Permalink
Do not process OSS Fuzz in delete-only mode (#2200)
Browse files Browse the repository at this point in the history
I noticed this was not behaving as intended during manual dry-run
testing in Production.
  • Loading branch information
andrewpollock committed May 10, 2024
1 parent f67f746 commit dd79353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/importer/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _request_internal_analysis(self, bug):
def run(self):
"""Run importer."""
for source_repo in osv.SourceRepository.query():
if source_repo.name == 'oss-fuzz':
if not self._delete and source_repo.name == 'oss-fuzz':
self.process_oss_fuzz(source_repo)

self.validate_source_repo(source_repo)
Expand Down

0 comments on commit dd79353

Please sign in to comment.