Project

General

Profile

« Previous | Next » 

Revision b58b4bbe

Added by Ivan Necas about 10 years ago

Index the content when the syncing finishes

View differences:

app/lib/actions/katello/repository/sync.rb
def plan(repo)
action_subject(repo)
plan_action(Pulp::Repository::Sync, pulp_id: repo.pulp_id)
plan_action(ElasticSearch::Reindex, repo)
sequence do
plan_action(Pulp::Repository::Sync, pulp_id: repo.pulp_id)
plan_action(ElasticSearch::Repository::IndexContent, id: repo.id)
plan_action(ElasticSearch::Reindex, repo)
end
end
def humanized_name

Also available in: Unified diff