mirror of
https://github.com/nikdoof/hg612-exporter.git
synced 2025-12-14 02:32:15 +00:00
chore: gofmt/goimports
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
package metrics
|
||||
|
||||
import (
|
||||
"github.com/jakekeeys/hg612-exporter/pkg/hg612"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promauto"
|
||||
|
||||
"github.com/jakekeeys/hg612-exporter/pkg/hg612"
|
||||
)
|
||||
|
||||
type dslMetricsCollector struct {
|
||||
client hg612.Client
|
||||
host string
|
||||
client hg612.Client
|
||||
host string
|
||||
identifier string
|
||||
|
||||
status *prometheus.GaugeVec
|
||||
@@ -221,8 +222,8 @@ func newDSLMetricsCollector(client hg612.Client, host string, identifier string)
|
||||
)
|
||||
|
||||
return dslMetricsCollector{
|
||||
client: client,
|
||||
host: host,
|
||||
client: client,
|
||||
host: host,
|
||||
identifier: identifier,
|
||||
|
||||
status: status,
|
||||
|
||||
Reference in New Issue
Block a user