Skip to content
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

Stacks: values generation #3914

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Next Next commit
Pre allocate checked paths
  • Loading branch information
denis256 committed Feb 20, 2025
commit 97c94edb7b111a4ae5d339179efd41d5c6594ba5
4 changes: 2 additions & 2 deletions config/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func ValidateStackConfig(config *StackConfigFile) error {

validationErrors := &errors.MultiError{}

names := make(map[string]bool)
paths := make(map[string]bool)
names := make(map[string]bool, len(config.Units))
paths := make(map[string]bool, len(config.Units))

for i, unit := range config.Units {
name := strings.TrimSpace(unit.Name)
Expand Down