Skip to content

Fix trailing space in ConnectionPool.Key string #855

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Aug 24, 2025

Motivation:

The trailing space is visible in log message metadata, and depending upon the log handler in use, will sometimes be visible due to quoting.

Modifications:

Just remove the trailing space.

Result:

There won't be a trailing space in the key anymore. This has no functional impact whatsoever as far as I was able to determine.

Motivation:

The trailing space is visible in log message metadata, and depending upon the log handler in use, will sometimes be visible due to quoting.

Modifications:

Just remove the trailing space.

Result:

There won't be a trailing space in the key anymore. This has no functional impact whatsoever as far as I was able to determine.
@gwynne gwynne requested review from weissi, Lukasa and glbrntt August 24, 2025 00:33
@gwynne gwynne added 🔨 semver/patch No public API change. kind/usability Usability of generated code, ergonomics. labels Aug 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/usability Usability of generated code, ergonomics. 🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant