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

Replacing reprecated functions #5774

Closed
yj-yoo opened this issue Feb 19, 2024 · 0 comments · Fixed by #5775
Closed

Replacing reprecated functions #5774

yj-yoo opened this issue Feb 19, 2024 · 0 comments · Fixed by #5775
Labels
type/chore Something that needs to be done; not a bug or a feature

Comments

@yj-yoo
Copy link
Contributor

yj-yoo commented Feb 19, 2024

Is your feature request related to a problem? Please describe.
as 'reflect.StringHeader' is deprecated, it is replaced with an unsafe package.

Describe the solution you'd like
In the 'pkg/storage/inmemory_index_cache.go' file, the copyString() function that used relfect.StringHeader was replaced with the unsafe.StringData() and unsafe.Slice() functions.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@friedrichg friedrichg added the type/chore Something that needs to be done; not a bug or a feature label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chore Something that needs to be done; not a bug or a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants