Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
extend list of labels we are searching for
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Dvoinos authored Nov 30, 2021
1 parent f5e089b commit d69d241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ func (r *githubRunners) setRunnerStatusMetric() error {
labels := []string{
*v.Name,
fmt.Sprint(*v.ID),
searchForLabel(v.Labels, []string{"small", "medium", "large", "xlarge"}, "n/a"),
searchForLabel(v.Labels, []string{"production", "staging"}, "n/a"),
searchForLabel(v.Labels, []string{"small", "medium", "large", "xlarge", "xxlarge}, "n/a"),
searchForLabel(v.Labels, []string{"production", "staging", "beta"}, "n/a"),
searchForLabel(v.Labels, []string{"self-hosted"}, "n/a"),
}

Expand Down

0 comments on commit d69d241

Please sign in to comment.