Skip to content

Commit

Permalink
Fixes #37408 - remove metadata_generate_needed?
Browse files Browse the repository at this point in the history
  • Loading branch information
ianballou committed May 7, 2024
1 parent 97f8a09 commit 1dbd1b9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/katello/root_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,6 @@ def generic?
Katello::RepositoryTypeManager.generic_repository_types(false).values.map(&:id).map(&:to_s).flatten.include? self.content_type
end

def metadata_generate_needed?
(%w(unprotected checksum_type container_repsoitory_name) & previous_changes.keys).any?
end

def using_mirrored_content?
self.mirroring_policy != Katello::RootRepository::MIRRORING_POLICY_ADDITIVE
end
Expand Down

0 comments on commit 1dbd1b9

Please sign in to comment.