POC/Provisioning: Gosec: Fix/ignore gosec violations (#97166)

This commit is contained in:
Mariell Hoversholm authored and GitHub committed 2024-11-28 15:26:55 +01:00
1 parent a600cc6eb7
commit ee71e18e2a
2 files changed
+18 -4

No files matched your search

@@ -67,7 +67,7 @@ func (r *realImpl) GetTree(ctx context.Context, owner, repository, ref string, r
return nil, false, err
}
var entries []RepositoryContent
entries := make([]RepositoryContent, 0, len(tree.Entries))
for _, te := range tree.Entries {
rrc := &realRepositoryContent{
real: &github.RepositoryContent{