Project

General

Profile

« Previous | Next » 

Revision 1214e201

Added by Ivan Necas about 6 years ago

Fixes #22762 - Check availability of repositories before upgrade

View differences:

lib/foreman_maintain/detector.rb
def find_present_classes(object_base_class)
object_base_class.all_sub_classes.reduce([]) do |array, object_class|
array << object_class if object_class.present?
array << object_class if object_class.autodetect? && object_class.present?
array
end
end

Also available in: Unified diff