Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill committed Jan 14, 2025
1 parent 8ba1cc7 commit 26b7e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dao/module_streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (r *moduleStreamsImpl) SearchRepositoryModuleStreams(ctx context.Context, o
}

func ModuleStreamsToCollectionResponse(modules []models.ModuleStream) (response []api.SearchModuleStreams) {
response = make([]api.SearchModuleStreams, len(modules))
response = make([]api.SearchModuleStreams, 0)
mapping := make(map[string][]api.Stream)
for _, mod := range modules {
mapping[mod.Name] = append(mapping[mod.Name], api.Stream{
Expand Down

0 comments on commit 26b7e49

Please sign in to comment.