Class: Actions::Katello::Repository::UpdateContentUrls

Inherits:
EntryAction
  • Object
show all
Defined in:
app/lib/actions/katello/repository/update_content_urls.rb

Instance Method Summary collapse

Instance Method Details

#plan(content_to_update) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'app/lib/actions/katello/repository/update_content_urls.rb', line 5

def plan(content_to_update)
  concurrence do
    content_to_update.each do |content|
      content.repositories.each do |repo|
        plan_action(Katello::Repository::UpdateRedhatRepository, repo)
      end
    end
  end
end