Skip to content

Commit

Permalink
fix(store/github): log warning when no module repos were found
Browse files Browse the repository at this point in the history
  • Loading branch information
stigok committed Nov 25, 2024
1 parent 320cfc4 commit 1f3398b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/store/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,12 @@ func (s *GitHubStore) ReloadCache(ctx context.Context) error {
return err
}

if len(repos) == 0 {
s.logger.Warn("could not find any module repos matching filter",
zap.String("topic", s.topicFilter),
zap.String("owner", s.ownerFilter))
}

fresh := make(map[string][]*core.ModuleVersion)

for _, repo := range repos {
Expand Down

0 comments on commit 1f3398b

Please sign in to comment.