netframework: merge multiple collector into one (Click here for more information) (#1633)

This commit is contained in:
Jan-Otto Kröpke
2024-09-20 10:02:57 +02:00
committed by GitHub
parent 41ff5729df
commit 2635e5d8eb
32 changed files with 536 additions and 1192 deletions

View File

@@ -298,9 +298,5 @@ func (c *Collector) Collect(_ *types.ScrapeContext, _ *slog.Logger, ch chan<- pr
}
}
if len(errs) > 0 {
return errors.Join(errs...)
}
return nil
return errors.Join(errs...)
}