Skip to content

Commit

Permalink
Merge pull request #182 from promhippie/fix-runners
Browse files Browse the repository at this point in the history
fix: use org and not enterprises for runners metrics
  • Loading branch information
tboerger authored Mar 22, 2023
2 parents ea027dc + b513d8c commit a9933be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exporter/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func (c *RunnerCollector) pagedEnterpriseRunners(ctx context.Context, name strin
func (c *RunnerCollector) orgRunners() []*github.Runner {
result := make([]*github.Runner, 0)

for _, name := range c.config.Enterprises.Value() {
for _, name := range c.config.Orgs.Value() {
ctx, cancel := context.WithTimeout(context.Background(), c.config.Timeout)
defer cancel()

Expand Down

0 comments on commit a9933be

Please sign in to comment.