app/lib/actions/katello/repository/update.rb in katello-4.7.1 vs app/lib/actions/katello/repository/update.rb in katello-4.7.2
- old
+ new
@@ -7,9 +7,10 @@
def plan(root, repo_params)
repository = root.library_instance
action_subject root.library_instance
repo_params[:url] = nil if repo_params[:url] == ''
+ repo_params[:checksum_type] = nil if repo_params[:download_policy] == ::Katello::RootRepository::DOWNLOAD_ON_DEMAND
update_cv_cert_protected = repo_params.key?(:unprotected) && (repo_params[:unprotected] != repository.unprotected)
create_acs = create_acs?(repository.url, repo_params[:url])
delete_acs = delete_acs?(repository.url, repo_params[:url])
# Keep the old URL for RPM vs ULN remote cleanup