Sha256: c52b43063d0abbb5808c97df6c9764035736b66de3b2893c4b8fe40ea3672167
Contents?: true
Size: 596 Bytes
Versions: 12
Compression:
Stored size: 596 Bytes
Contents
module Actions module Katello module Product class UpdateHttpProxy < Actions::EntryAction def plan(products, http_proxy_policy, http_proxy) products.each do |product| roots = product.repositories.map(&:root) next if roots.empty? plan_action(::Actions::BulkAction, ::Actions::Katello::Repository::Update, roots, http_proxy_policy: http_proxy_policy, http_proxy_id: http_proxy&.id) end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems