Skip to content

Conversation

osamakader
Copy link

Replaces the deprecated strings.Title call in criuNsToKey() with a manual capitalization of the first character.
The behavior remains identical for ASCII namespace names while ensuring compatibility with modern Go versions.

…tion

strings.Title is deprecated since Go 1.18. Replace it with a simple
manual capitalization of the first character in criuNsToKey().

Signed-off-by: Osama Abdelkader <[email protected]>
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.

1 participant