Skip to content

Commit

Permalink
Merge pull request #17331 from hsong-rh/scanning_profile
Browse files Browse the repository at this point in the history
Fix the issue of defined analyisis profile missed in vm scanning.
  • Loading branch information
bdunne authored Apr 30, 2018
2 parents dcd53e6 + 4b43b96 commit 792f495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/vm_scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def check_policy_complete(from_zone, status, message, result)
scan_profiles = []
prof_policies.each { |p| scan_profiles += p[:result] unless p[:result].nil? }
options[:scan_profiles] = scan_profiles unless scan_profiles.blank?
save
end
end

Expand Down

0 comments on commit 792f495

Please sign in to comment.