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

Improve the readability of redis_client util method #4262

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

zalegrala
Copy link
Contributor

Here we modify a utility method in the redis client which is used to retrieve the bytes of the array backing a string. New unsafe methods exist to support this use case, which is considerably more readable.

What this PR does:

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

nice

@zalegrala zalegrala merged commit e19ab71 into grafana:main Nov 1, 2024
16 checks passed
@zalegrala zalegrala deleted the redisUtilReadability branch November 1, 2024 19:14
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