Skip to content

Commit

Permalink
fix(SSG): RHINENG-9543 determing BM version from openscap object
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jun 3, 2024
1 parent 9059ac6 commit 2193f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/concerns/xccdf/profile_os_minor_versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def old_profile_os_minor_versions
end

def os_minor_versions
SupportedSsg.by_ssg_version(true)[@benchmark.version]
SupportedSsg.by_ssg_version(true)[@op_benchmark.version]
.select { |ssg| ssg.os_major_version == @benchmark.os_major_version }
.map(&:os_minor_version)
end
Expand Down

0 comments on commit 2193f04

Please sign in to comment.