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

Add documentation to name.Limit #279

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Conversation

manno
Copy link
Member

@manno manno commented Feb 28, 2023

  • The func will crash with a runtime error for count <= 5.
  • If count is 6, the result will have a leading dash.
  • If len(string) == count, it will not return the original string, instead it appends a hash.

@mattfarina
Copy link
Contributor

@manno can you rebase. Testing works now. It was broken before.

* The func will crash with a runtime error for count <= 5.
* If count is 6, the result will have a leading dash.
* If len(string) == count, it will not return the original string, instead
it appends a hash.
@manno manno force-pushed the name-limit-docs branch from d6cb2f7 to 837dadb Compare March 29, 2023 15:37
@mattfarina mattfarina merged commit 406367d into rancher:master Apr 10, 2023
@manno manno deleted the name-limit-docs branch April 13, 2023 12:34
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