app/lib/actions/katello/repository/index_errata.rb in katello-3.2.1.1 vs app/lib/actions/katello/repository/index_errata.rb in katello-3.3.0.rc1
- old
+ new
@@ -6,10 +6,10 @@
plan_self(:user_id => ::User.current.id, :id => repository.id)
end
def run
repo = ::Katello::Repository.find(input[:id])
- repo.index_db_errata
+ ::Katello::Erratum.import_for_repository(repo)
end
end
end
end
end