Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fixes #37194 - Uses ENV option for RHSM and UPSTREAM_RHSM api url #10902

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Feb 21, 2024

What are the changes introduced in this pull request?

Considerations taken when implementing this change?

What are the testing steps for this pull request?

@parthaa parthaa changed the title Fixes #37194 - Uses ENV option for RHSM and UPSTREAM_RHSM api url [WIP] Fixes #37194 - Uses ENV option for RHSM and UPSTREAM_RHSM api url Feb 21, 2024
@@ -74,9 +74,13 @@ def owner_upstream_update(upstream, _options)
upstream['idCert']['key'], ca_file, params)
end

def upstream_api_url(upstream)
upstream['apiUrl'] || ENV['UPSTREAM_REDHAT_RHSM_API_URL'] || API_URL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In upstream_job.rb the variable is called REDHAT_RHSM_API_URL; here it's UPSTREAM_REDHAT_RHSM_API_URL. Is that intended?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants