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(printing): remove user info from service and host when printing them #20

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

ipfaze
Copy link
Contributor

@ipfaze ipfaze commented Dec 10, 2024

fix story 1232

Remove password information when printing a service or an host.

@ipfaze ipfaze requested a review from EtienneM December 10, 2024 15:20
@Scalingo Scalingo deleted a comment from notion-workspace bot Dec 10, 2024
lib/etcd-discovery/host.rb Show resolved Hide resolved
else
URI("#{scheme}://#{a["user"]}:#{a["password"]}@#{a["name"]}:#{a["ports"][scheme]}")
schemes = Array(schemes)
a = attributes
Copy link
Member

Choose a reason for hiding this comment

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

issue: the variable name a is not really good. What do you think about attrs?

@ipfaze ipfaze requested a review from EtienneM December 12, 2024 10:27
@ipfaze ipfaze merged commit 91b9166 into master Dec 12, 2024
2 checks passed
@ipfaze ipfaze deleted the fix/STORY-1232/remove_password_printing branch December 12, 2024 10:38
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