Sha256: 64b6d1795d1c6c44a5708133644cc85f5c4507cb90bfdcca04bea6412add0660
Contents?: true
Size: 415 Bytes
Versions: 129
Compression:
Stored size: 415 Bytes
Contents
module Actions module Pulp module Repository class CreateInPlan < Create alias_method :perform_run, :run def plan(repository, smart_proxy) input[:response] = repository.backend_service(smart_proxy).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
129 entries across 129 versions & 1 rubygems