Skip to content

fix: fix slice init length#6901

Merged
yongtang merged 1 commit into
coredns:masterfrom
rusttech:master
Dec 10, 2025
Merged

fix: fix slice init length#6901
yongtang merged 1 commit into
coredns:masterfrom
rusttech:master

Conversation

@rusttech

@rusttech rusttech commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

1. Why is this pull request needed and what does it do?

The intention here should be to initialize a slice with a capacity of len(keys) rather than initializing the length of this slice.

2. Which issues (if any) are related?

3. Which documentation changes (if any) need to be made?

4. Does this introduce a backward incompatible change or deprecation?

@rusttech

rusttech commented Dec 3, 2024

Copy link
Copy Markdown
Contributor Author

friendly ping

@chrisohaver

Copy link
Copy Markdown
Member

Please sign the commit.

Signed-off-by: rusttech <gopher@before.tech>
@rusttech

rusttech commented Dec 4, 2024

Copy link
Copy Markdown
Contributor Author

Please sign the commit.

Thanks. Signed.

Please review again.

@yongtang yongtang merged commit 1fd4ba2 into coredns:master Dec 10, 2025
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.

3 participants