Skip to content

Commit

Permalink
don't set legacy insights ca when local advisor engine is used
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jan 27, 2025
1 parent 50e24b6 commit a993d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman_rh_cloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def self.marked_foreman_host
end

def self.legacy_insights_ca
"#{ForemanRhCloud::Engine.root}/config/rh_cert-api_chain.pem"
"#{ForemanRhCloud::Engine.root}/config/rh_cert-api_chain.pem" unless ForemanRhCloud.with_local_advisor_engine?
end

def self.cloud_url_validator
Expand Down

0 comments on commit a993d87

Please sign in to comment.