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

fix: UnboundLocalError in controller when both websession and api_proxy_cert are provided. #479

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

ehendrix23
Copy link
Contributor

When both websession and api_proxy_cert are provided to Controller then following error is reported:
UnboundLocalError: cannot access local variable 'ssl_context' where it is not associated with a value.

This PR fixes this issue by only checking if certificate is valid if websession is provided.

Fix for when both websession and api_proxy_cert are provided.
@alandtse alandtse merged commit 2cb965a into zabuldon:dev Nov 26, 2024
4 checks passed
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.

2 participants