mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-03 15:31:05 +01:00
zfs: standardize case spelling of NewZFSCollector
Ensure identical factory function name across arch-specific files so that the common init() function in zfs.go works. Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
This commit is contained in:
parent
b2dfaeb146
commit
770bd551db
@ -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{
|
||||
{
|
||||
|
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user