Skip to content

Commit

Permalink
Merge branch 'develop' into dependabot/go_modules/develop/github.com/…
Browse files Browse the repository at this point in the history
…spf13/cast-1.7.1
  • Loading branch information
Eengineer1 authored Jan 7, 2025
2 parents 190da67 + 97a65da commit b454b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/helpers/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ type HumanReadableEvent struct {
}

func ReadableEvents(events []types.Event) []HumanReadableEvent {
readableEvents := make([]HumanReadableEvent, 0, len(events))
readableEvents := make([]HumanReadableEvent, len(events))
for _, event := range events {
readableAttributes := make([]HumanReadableEventAttribute, 0, len(event.Attributes))
readableAttributes := make([]HumanReadableEventAttribute, len(event.Attributes))
for i, attribute := range event.Attributes {
readableAttributes[i] = HumanReadableEventAttribute{
Key: attribute.Key,
Expand Down

0 comments on commit b454b97

Please sign in to comment.