-
Notifications
You must be signed in to change notification settings - Fork 557
fix: fix slice init length #5943
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
base: main
Are you sure you want to change the base?
Conversation
|
|
friendly ping~ |
|
Hi, Anything need I to do? |
|
@vikramdevtron @abhibhaw Hi, Could you please review this PR at your convenience? Thank you very much. |
abhibhaw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
|



Description
The intention here should be to initialize a slice with a capacity of len(cdPipelines) rather than initializing the length of this slice.
The online demo: https://go.dev/play/p/vNUPNjdb2gJ
Fixes #
Checklist:
Does this PR introduce a user-facing change?
Summary by Bito