-
Notifications
You must be signed in to change notification settings - Fork 428
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
PMM-13543 Support socket path. #961
Conversation
PMM-13477 Support of PSMDB 8.0.
Co-authored-by: Alex Demidoff <[email protected]>
|
||
// IF user@pass not contained in uri AND custom user and pass supplied in arguments | ||
// DO concat a new uri with user and pass arguments value | ||
if !strings.Contains(uri, "@") && user != "" && password != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we shouldn't support a case where the user is non-empty and the password is empty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point for improvement, but in scope of this fix I think we can leave as it used to be. I just reverted old logic for cases where url.Parse doesn't work. Additionally for that users can set user in initial DSN. let's create github issue with good-first-task label for those who would like to contribute
PMM-13477 Support of PSMDB 8.0.
PMM-13543 Support socket path.
Below we provide a basic checklist of things that would make it a good PR:
Once all checks pass and the code is ready for review, please add
pmm-review-exporters
team as the reviewer. That would assign people from the review team automatically. Report any issues on our Forum.