Skip to content

Trim leading and trailing spaces from service tags#943

Merged
tristanmorgan merged 1 commit into
fabiolb:masterfrom
logocomune:master
Sep 6, 2024
Merged

Trim leading and trailing spaces from service tags#943
tristanmorgan merged 1 commit into
fabiolb:masterfrom
logocomune:master

Conversation

@logocomune

Copy link
Copy Markdown
Contributor

This update modifies the 'routecmd' function to trim leading and trailing spaces from service tags. Corresponding tests have been added to verify correct functionality when space-prefixed or suffixed tags are encountered. These changes ensure consistency in how tags are processed and compared.

This update modifies the 'routecmd' function to trim leading and trailing spaces from service tags. Corresponding tests have been added to verify correct functionality when space-prefixed or suffixed tags are encountered. These changes ensure consistency in how tags are processed and compared.
@CLAassistant

CLAassistant commented Mar 21, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread registry/consul/routecmd.go

@tristanmorgan tristanmorgan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. clean small change to fix a need.

@tristanmorgan tristanmorgan merged commit d29ac68 into fabiolb:master Sep 6, 2024
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.

4 participants