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

avoid overwriting ssl opts with url if already set in config #4498

Conversation

ruslandoga
Copy link
Contributor

@ruslandoga ruslandoga marked this pull request as ready for review August 21, 2024 08:31
# the URL's `ssl=true` parameter is dropped
url_config =
if is_list(config[:ssl]) and url_config[:ssl] == true do
Keyword.delete(url_config, :ssl)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe also log?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, forgot that part :) Thank you!

@josevalim josevalim merged commit 07cdcc2 into elixir-ecto:master Aug 23, 2024
6 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@ruslandoga ruslandoga deleted the avoid-overwriting-ssl-opts-with-url-if-already-set-in-config branch August 23, 2024 07:26
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