[Harness] Fix Harness Build (#488)

This commit is contained in:
Johannes Batzill 2023-09-14 16:23:07 +00:00 committed by Harness
parent 69fc03bc19
commit ae42cabc15

View File

@ -78,7 +78,10 @@ func (c *command) run(*kingpin.ParseContext) error {
g.Go(func() error { g.Go(func() error {
// initialize metric collector // initialize metric collector
system.services.MetricCollector.Register(gCtx) if system.services.MetricCollector != nil {
system.services.MetricCollector.Register(gCtx)
}
return system.services.JobScheduler.Run(gCtx) return system.services.JobScheduler.Run(gCtx)
}) })