diff --git a/internal/perfdata/perfdata.go b/internal/perfdata/perfdata.go index 05d93de5c..9d56c0bbf 100644 --- a/internal/perfdata/perfdata.go +++ b/internal/perfdata/perfdata.go @@ -27,7 +27,7 @@ var ( AllInstances = []string{"*"} ) -func NewCollector(engine Engine, object string, instances []string, counters []string) (Collector, error) { +func NewCollector(engine Engine, object string, instances []string, counters []string) (Collector, error) { //nolint:ireturn switch engine { case V1: return v1.NewCollector(object, instances, counters)