From eb77ed589ea88322333d107dcb20d1411fcfd0ee Mon Sep 17 00:00:00 2001 From: Nadja Heitmann Date: Thu, 4 Jan 2024 12:03:41 +0100 Subject: [PATCH] Update app/models/katello/deb.rb Co-authored-by: Jeremy Lenz --- app/models/katello/deb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/katello/deb.rb b/app/models/katello/deb.rb index 5a4d4e69d71..3a0e2b35404 100644 --- a/app/models/katello/deb.rb +++ b/app/models/katello/deb.rb @@ -98,7 +98,7 @@ def self.applicable_to_hosts(hosts) # Return deb packages that are not installed on a host, but could be installed # the word 'installable' has a different meaning here than elsewhere - def self.deb_installable_for_host(host) + def self.apt_installable_for_host(host) repos = host.content_facet.bound_repositories.pluck(:id) Katello::Deb.in_repositories(repos).where.not(name: host.installed_debs.pluck(:name)).order(:name) end