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

Updated GetStatusApiInfo function to combine nginx configs before transversing them #159

Merged
merged 2 commits into from
Jan 5, 2023

Conversation

dhurley
Copy link
Collaborator

@dhurley dhurley commented Jan 5, 2023

Proposed changes

If the api location block is in a separate config file from the server block, we run into an issue where we can't determine the parent directive of the location block. By combining the configs before transversing the tree we can get around this issue.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md)

@netlify
Copy link

netlify bot commented Jan 5, 2023

Deploy Preview for agent-public-docs canceled.

Name Link
🔨 Latest commit 42563b5
🔍 Latest deploy log https://app.netlify.com/sites/agent-public-docs/deploys/63b6dcce4795b6000a989f35

@dhurley dhurley self-assigned this Jan 5, 2023
@dhurley dhurley added bug Something isn't working and removed dependencies labels Jan 5, 2023
@dhurley dhurley merged commit 8285591 into main Jan 5, 2023
@dhurley dhurley deleted the fix-parsing-of-status-api branch January 5, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants