Sha256: efe45e2a8f7ea2b0e88fc4dfc51ef93838b05cf262429685c6a998fe6d99c19f
Contents?: true
Size: 559 Bytes
Versions: 18
Compression:
Stored size: 559 Bytes
Contents
module Actions module Katello module Repository class FinishUpload < Actions::Base def plan(repository, dependency = nil) plan_action(Katello::Repository::MetadataGenerate, repository, nil, dependency) recent_range = 5.minutes.ago.iso8601 plan_action(Katello::Repository::FilteredIndexContent, id: repository.id, filter: {:association => {:created => {"$gt" => recent_range}}}, dependency: dependency) end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems