Skip to content

internal/repos: Return early if ProjectRepos returns an error

Administrator requested to merge ig/bibucketserver-listrepos into main

Created by: indradhanush

It appears we're writing a nil repos into the channel even when there's an error. Instead we should return early after writing the error into the channel.

Related to investigation of #40153 (closed).

Test plan

Existing tests should pass.

Merge request reports

Loading