app/lib/actions/katello/provider/update.rb in katello-3.10.2 vs app/lib/actions/katello/provider/update.rb in katello-3.11.0.rc1

- old
+ new

@@ -28,10 +28,10 @@ def update_repository_urls(product, current_base_url, new_base_url) product.repositories.each do |repository| next unless repository.url path = repository.url.split(current_base_url)[1] url = "#{new_base_url}#{path}" - plan_action(::Actions::Katello::Repository::Update, repository, :url => url) + plan_action(::Actions::Katello::Repository::Update, repository.root, :url => url) end end end end end