Skip to content

Commit

Permalink
Update app/models/katello/deb.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Lenz <[email protected]>
  • Loading branch information
nadjaheitmann and jeremylenz authored Jan 4, 2024
1 parent 74274f4 commit eb77ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/katello/deb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb77ed5

Please sign in to comment.