Project

General

Profile

« Previous | Next » 

Revision 03494eca

Added by Samir Jha about 2 months ago

Capsule granular repair (#10932)

  • Fixes #36803 - Add capsule repair tasks
  • Fixes #37258 - Allow granular repair functionality for capsules

View differences:

app/services/katello/pulp3/api/core.rb
client
end
def repair_api
PulpcoreClient::RepairApi.new(core_api_client)
end
def uploads_api
PulpcoreClient::UploadsApi.new(core_api_client)
end
......
end
end
def repair
repair_api.post(PulpcoreClient::Repair.new(verify_checksums: true))
end
def self.fetch_from_list
page_size = Setting[:bulk_load_size]
page_opts = { "offset" => 0, limit: page_size }

Also available in: Unified diff