app/lib/actions/pulp/consumer/generate_applicability.rb in katello-3.4.0.2 vs app/lib/actions/pulp/consumer/generate_applicability.rb in katello-3.4.1

- old
+ new

@@ -5,14 +5,10 @@ input_format do param :uuids, Array end def invoke_external_task - if input[:uuids].length == 1 - pulp_resources.consumer.regenerate_applicability_by_id(input[:uuids].first) - else - pulp_extensions.consumer.regenerate_applicability_by_ids(input[:uuids]) - end + pulp_extensions.consumer.regenerate_applicability_by_ids(input[:uuids]) end end end end end