Skip to content

Conversation

cuishuang
Copy link
Contributor

@cuishuang cuishuang commented Sep 26, 2024

What this PR does:

The intention here should be to initialize a slice with a capacity of 512 rather than initializing the length of this slice.

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]

Signed-off-by: cuishuang <imcusg@gmail.com>
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks. Good catch!

@yeya24 yeya24 merged commit c461a17 into cortexproject:master Sep 26, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants