Sha256: 938d092b7144b66e970532968b74f58e4adce9952fecf860b01141650327f88b
Contents?: true
Size: 501 Bytes
Versions: 7
Compression:
Stored size: 501 Bytes
Contents
module Actions module Pulp3 module Repository class RefreshRemote < Pulp3::AbstractAsyncTask def plan(repository, smart_proxy) plan_self(repository_id: repository.id, smart_proxy_id: smart_proxy.id) end def invoke_external_task repo = ::Katello::Repository.find(input[:repository_id]) backend = repo.backend_service(smart_proxy) backend.update_remote if backend.remote_needs_updates? end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems