From cc71e9854407220165dce8c79d37e0fa4cc6cfd5 Mon Sep 17 00:00:00 2001 From: Quirin Pamp Date: Wed, 18 Oct 2023 10:53:17 +0200 Subject: [PATCH] [DEBSTRUCTURED] WORKAROUND: Never sync both structured and simple to proxy This can be reverted once OR-4275 is fixed! https://atix.atlassian.net/browse/OR-4275 --- app/services/katello/pulp3/repository/apt.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/services/katello/pulp3/repository/apt.rb b/app/services/katello/pulp3/repository/apt.rb index d8881ae79fd..c1cac215ebd 100644 --- a/app/services/katello/pulp3/repository/apt.rb +++ b/app/services/katello/pulp3/repository/apt.rb @@ -44,10 +44,6 @@ def mirror_remote_options fail("It cannot work to set both deb_use_structured_proxy_sync and deb_use_simple_publish to False! Please set at least one of them to True!") end - if Setting['deb_use_simple_publish'] and not distributions.split(' ').include? 'default' - distributions.concat(' default') - end - super.merge({policy: policy, distributions: distributions}) end