Skip to content

Commit

Permalink
Fixes #37879 - Ensure Full Capsule Sync triggers non-optimised pulp s…
Browse files Browse the repository at this point in the history
…ync (#11168)

Signed-off-by: Pavel Moravec <[email protected]>
  • Loading branch information
pmoravec authored Oct 30, 2024
1 parent 78146fe commit 27741e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/actions/pulp3/capsule_content/sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def plan(repository, smart_proxy, options = {})
def invoke_external_task
repo = ::Katello::Repository.find(input[:repository_id])
sync_options = {}
sync_options[:optimize] = false if sync_options[:skip_metadata_check]
sync_options[:optimize] = !input[:options].fetch(:skip_metadata_check, false)
output[:pulp_tasks] = repo.backend_service(smart_proxy).with_mirror_adapter.sync(sync_options)
end

Expand Down

0 comments on commit 27741e8

Please sign in to comment.