Skip to content

repo-updater: Remove scheduler interface

Administrator requested to merge rs/remove-scheduler-interface into main

Created by: ryanslade

We introduce a couple of cleanups here:

  • Export the repos.UpdateScheduler type as it is reference a lot outside of the repos package
  • Remove the scheduler interface from repo updater. There's no need for the indirection and we can just use repos.UpdateScheduler directly.
  • Extracted some code into a getPrivateAddedOrModifiedRepos helper function

Test Plan

No functional changes, all unit test continue to pass.

Merge request reports

Loading