Sha256: c5f9a709944fcf13f5dfa0796fcd64bc0645ee22f22765018a5c36603cde29ca
Contents?: true
Size: 545 Bytes
Versions: 19
Compression:
Stored size: 545 Bytes
Contents
module Actions module Katello module CapsuleContent class UpdateContentCounts < Actions::EntryAction def plan(smart_proxy) plan_self(:smart_proxy_id => smart_proxy.id) end def humanized_name _("Update Content Counts") end def run smart_proxy = ::SmartProxy.unscoped.find(input[:smart_proxy_id]) smart_proxy.update_content_counts! end def rescue_strategy Dynflow::Action::Rescue::Skip end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems