Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ linters:
- asciicheck
- reassign
- modernize
- makezero
settings:
modernize:
# omitzero changes JSON wire format for nested structs (unlike omitempty),
Expand Down
2 changes: 1 addition & 1 deletion acceptance/acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ func getEnvFilters(t *testing.T) []string {
}

filters := strings.Split(envFilterValue, ",")
outFilters := make([]string, len(filters))
outFilters := make([]string, 0, len(filters))

for _, filter := range filters {
items := strings.Split(filter, "=")
Expand Down
Loading