Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Jan 22, 2026

Problem:
Make validate reports errors from linter.

 Running validation
Running: golangci-lint run
tests/setup/harvester_mock.go:85:6: Consider preallocating results with capacity 1 (prealloc)
	var results []*extv1.CustomResourceDefinition
	    ^
1 issues:
* prealloc: 1

Solution:
Fix the linter error.

Related Issue:

Test plan:


This is an automatic backport of pull request #131 done by [Mergify](https://mergify.com).

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 27ede31)
@starbops starbops merged commit 946dca7 into v1.7 Jan 22, 2026
5 checks passed
@starbops starbops deleted the mergify/bp/v1.7/pr-131 branch January 22, 2026 07:56
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