diff --git a/collector/zfs_freebsd.go b/collector/zfs_freebsd.go index 76404766..d888c3a7 100644 --- a/collector/zfs_freebsd.go +++ b/collector/zfs_freebsd.go @@ -30,7 +30,7 @@ const ( zfsCollectorSubsystem = "zfs" ) -func NewZfsCollector(logger *slog.Logger) (Collector, error) { +func NewZFSCollector(logger *slog.Logger) (Collector, error) { return &zfsCollector{ sysctls: []bsdSysctl{ { diff --git a/collector/zfs_solaris.go b/collector/zfs_solaris.go index 7229526c..1f10ee01 100644 --- a/collector/zfs_solaris.go +++ b/collector/zfs_solaris.go @@ -61,7 +61,7 @@ const ( zfsCollectorSubsystem = "zfs" ) -func NewZfsCollector(logger *slog.Logger) (Collector, error) { +func NewZFSCollector(logger *slog.Logger) (Collector, error) { return &zfsCollector{ abdstatsLinearCount: prometheus.NewDesc( prometheus.BuildFQName(namespace, zfsCollectorSubsystem, "abdstats_linear_count_total"),