app/lib/actions/katello/repository/instance_update.rb in katello-4.1.4 vs app/lib/actions/katello/repository/instance_update.rb in katello-4.2.0.rc1
- old
+ new
@@ -5,10 +5,10 @@
middleware.use Actions::Middleware::KeepCurrentUser
def plan(repository)
action_subject repository
repository.save!
- plan_action(::Actions::Pulp::Repository::Refresh, repository)
+ plan_action(::Actions::Pulp3::Orchestration::Repository::RefreshIfNeeded, repository)
plan_self(:repository_id => repository.id)
end
def run
repository = ::Katello::Repository.find(input[:repository_id])