Skip to content

Commit

Permalink
Fixes #37879 - Ensure Full Capsule Sync triggers non-optimised pulp sync
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Moravec <[email protected]>
  • Loading branch information
pmoravec committed Oct 4, 2024
1 parent c3181b0 commit 4811d0f
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 4811d0f

Please sign in to comment.