Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke committed Dec 21, 2024
1 parent 60f36fc commit 8b98a3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/collector/scheduled_task/scheduled_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type Config struct {
TaskInclude *regexp.Regexp `yaml:"task_include"`
}

//nolint:gochecknoglobals
var ConfigDefaults = Config{
TaskExclude: types.RegExpEmpty,
TaskInclude: types.RegExpAny,
Expand Down Expand Up @@ -174,6 +175,7 @@ func (c *Collector) Collect(ch chan<- prometheus.Metric) error {
return c.collect(ch)
}

//nolint:gochecknoglobals
var TASK_STATES = []string{"disabled", "queued", "ready", "running", "unknown"}

func (c *Collector) collect(ch chan<- prometheus.Metric) error {
Expand Down

0 comments on commit 8b98a3a

Please sign in to comment.