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

Changes for progress url being picked from wrong ENV variable #2160

Conversation

msys-sgarg
Copy link
Contributor

@msys-sgarg msys-sgarg commented Aug 18, 2021

Signed-off-by: smriti sgarg@msystechnologies.com

Description

Supermarket production env is setting value for this env variable ENV[CHEF_WWW_URL] to chef.io. Since this env variable is getting used at some other place in application too, I am introducing a new env variable - ENV[PROGRESS_WWW_URL] which will have a value as www.progress.com and will resolve error we are getting in footer url

Issues Resolved

#2155

[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]

Check List

@msys-sgarg msys-sgarg requested review from a team as code owners August 18, 2021 10:46
@msys-sgarg msys-sgarg force-pushed the smriti/2155_footer_links_pointing_to_wrong_url branch 2 times, most recently from 7b0ea88 to 573a4c0 Compare August 18, 2021 11:00
@@ -23,7 +23,7 @@ def chef_www_url(extra = nil)
end

def progress_www_url(extra = nil)
url = ENV["CHEF_WWW_URL"] || "https://www.#{progress_domain}"
url = ENV["PROGRESS_WWWW_URL"] || "https://www.#{progress_domain}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
url = ENV["PROGRESS_WWWW_URL"] || "https://www.#{progress_domain}"
url = ENV["PROGRESS_WWW_URL"] || "https://www.#{progress_domain}"

Signed-off-by: smriti <sgarg@msystechnologies.com>
@msys-sgarg msys-sgarg force-pushed the smriti/2155_footer_links_pointing_to_wrong_url branch from 573a4c0 to 5a842d7 Compare August 19, 2021 04:53
@tas50 tas50 merged commit 907082c into chef:master Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants