lib/katello/tasks/import_applicability.rake in katello-4.3.1 vs lib/katello/tasks/import_applicability.rake in katello-4.4.0.rc1
- old
+ new
@@ -1,8 +1,8 @@
namespace :katello do
task :import_applicability => ["environment"] do
Katello::Host::ContentFacet.find_each do |facet|
- facet.import_applicability
+ facet.calculate_and_import_applicability
rescue StandardError => exception
puts _('Error importing applicability for %{name} - %{id}: %{message}') %
{:name => facet.host.name, :id => facet.host.id, :message => exception.message}
end
end