Skip to content

Conversation

sebsto
Copy link
Contributor

@sebsto sebsto commented Mar 6, 2025

The user-agent string was repeated at 5+ different places in the source code.
I defined it as a constant in the ControlPlaneRequest struct where other similar constant have been defined and make sure the rest of the code only uses that constant.

This should address #492

@sebsto sebsto added kind/enhancement Improvements to existing feature. 🔨 semver/patch No public API change. labels Mar 6, 2025
@sebsto sebsto requested a review from fabianfett March 6, 2025 15:09
@sebsto sebsto self-assigned this Mar 6, 2025
@sebsto sebsto merged commit bf02bce into swift-server:main Mar 6, 2025
30 of 31 checks passed
@fabianfett fabianfett added this to the 2.0 milestone Mar 6, 2025
@sebsto sebsto deleted the sebsto/user-agent branch March 6, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements to existing feature. 🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants