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: adjust label validation for max length of 63 characters #273

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

fsrv-xyz
Copy link
Contributor

According to the api documentation, the length of a label value must be a string of 63 characters or fewer.
The currently used regex for the validation allows 64 char long values.

Signed-off-by: Florian Bauer <[email protected]>
@fsrv-xyz fsrv-xyz requested a review from a team as a code owner June 16, 2023 10:52
@apricote apricote changed the title fix: adjust label validation fix: adjust label validation for max length of 63 characters Jun 16, 2023
@apricote apricote merged commit 6382808 into hetznercloud:main Jun 16, 2023
@apricote
Copy link
Member

Thanks a lot @fsrv-xyz! We should also make the same fixes in hcloud-python

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