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

sdsv3: Don't log error when connection closes #5835

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

sorindumitru
Copy link
Collaborator

If we receive a nil error on the errch it means that the connection has been closed cleanly. We shouldn't log an error in that case.

Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

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

Thank you @sorindumitru!

@amartinezfayo amartinezfayo added this to the 1.11.2 milestone Feb 3, 2025
If we receive a nil error on the errch it means that the connection
has been closed cleanly. We shouldn't log an error in that case.

Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
@sorindumitru sorindumitru merged commit 447bf18 into spiffe:main Feb 4, 2025
35 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