Sha256: 48825a9937c87536a1efbc71331f198fde6458a9440a8ad35a3f40c7ad7e414c
Contents?: true
Size: 413 Bytes
Versions: 11
Compression:
Stored size: 413 Bytes
Contents
module Actions module Pulp module Repository class CreateInPlan < Create alias_method :perform_run, :run def plan(repository) input[:response] = repository.backend_service(SmartProxy.pulp_master).create rescue RestClient::Conflict Rails.logger.warn("Tried to add repository #{input[:pulp_id]} that already exists.") end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems