We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e7a9c commit 98555b6Copy full SHA for 98555b6
app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
@@ -42,7 +42,8 @@ def purpose_addon_params
42
end
43
44
def set_content_view_environments
45
- return if @host&.content_facet.blank? ||
+ content_facet_attributes = params.dig(:host, :content_facet_attributes)
46
+ return if content_facet_attributes.blank? || @host&.content_facet.blank? ||
47
(cve_params[:content_view_id].present? && cve_params[:lifecycle_environment_id].present?)
48
new_cves = nil
49
if cve_params[:content_view_environments].present? && cve_params[:content_view_environment_ids].blank?
0 commit comments