Sha256: 147277e4e5d01e62b35475389cb15eb6220182b3e05c3fdac7ceeb153b06053e
Contents?: true
Size: 500 Bytes
Versions: 53
Compression:
Stored size: 500 Bytes
Contents
module Actions module Pulp module Repository class Destroy < Pulp::AbstractAsyncTask input_format do param :pulp_id param :capsule_id end def invoke_external_task output[:pulp_tasks] = pulp_extensions.repository.delete(input[:pulp_id]) rescue RestClient::ResourceNotFound Rails.logger.warn("Tried to delete repository #{input[:pulp_id]}, but it did not exist.") [] end end end end end
Version data entries
53 entries across 53 versions & 1 rubygems