Class: Katello::Util::CveHgcfMigrator

Inherits:
Object
  • Object
show all
Defined in:
app/lib/katello/util/cve_hgcf_migrator.rb

Overview

used in db/migrate/20260402151630_add_content_view_environment_to_hostgroup_content_facet.rb

Instance Method Summary collapse

Instance Method Details

#execute!Object



8
9
10
11
12
13
14
# File 'app/lib/katello/util/cve_hgcf_migrator.rb', line 8

def execute!
  validation_results = validate_hostgroup_facets
  {
    partial_data_count: validation_results[:partial_data_count],
    problematic_facets: validation_results[:problematic_facets],
  }
end