Skip to content

Fix fastboot check in nginx erb template #2063

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

Merged
merged 1 commit into from
Dec 25, 2019

Conversation

jtgeibel
Copy link
Member

In production we're currently returning a 502 Bad Gateway for
/policies. I intend to merge this and deploy to production shortly.

This bug was introduced in #1907. The bad check always evaluated to
true. An explicit check for an empty string is added as well. I've
tested this locally with erb and different values and the generated
configuration is now working correctly.

r? @jtgeibel

In production we're currently returning a 502 Bad Gateway for
`/policies`.  I intend to merge this and deploy to production shortly.

This bug was introduced in rust-lang#1907.  The bad check always evaluated to
true.  An explicit check for an empty string is added as well.  I've
tested this locally with `erb` and different values and the generated
configuration is now working correctly.
@jtgeibel
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Dec 25, 2019

📌 Commit f6b8b59 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Dec 25, 2019

⌛ Testing commit f6b8b59 with merge 55ed127...

bors added a commit that referenced this pull request Dec 25, 2019
Fix fastboot check in nginx erb template

In production we're currently returning a 502 Bad Gateway for
`/policies`.  I intend to merge this and deploy to production shortly.

This bug was introduced in #1907.  The bad check always evaluated to
true.  An explicit check for an empty string is added as well.  I've
tested this locally with `erb` and different values and the generated
configuration is now working correctly.

r? @jtgeibel
@bors
Copy link
Contributor

bors commented Dec 25, 2019

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing 55ed127 to master...

@bors bors merged commit f6b8b59 into rust-lang:master Dec 25, 2019
@jtgeibel jtgeibel deleted the fastboot/fix-nginx-erb branch December 25, 2019 02:15
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.

3 participants