Skip to content

Commit

Permalink
limit updates to documents which need fixing (i.e. don't produce upda…
Browse files Browse the repository at this point in the history
…tes which just assign the software version)
  • Loading branch information
alexdunnjpl committed Jan 30, 2024
1 parent 0fdd1aa commit 9ad8295
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pds/registrysweepers/repairkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def generate_updates(
"repairkit sweeper detects documents in need of repair - please ~harass~ *request* node user to update their harvest version"
)
repair_already_logged_to_error = True
yield Update(id=id, content=repairs)

if document_needed_fixing:
yield Update(id=id, content=repairs)


def run(
Expand Down

0 comments on commit 9ad8295

Please sign in to comment.