Run gofmt.
This commit is contained in:
parent
c1992f18e5
commit
9f046cd88e
13 changed files with 1 additions and 21 deletions
|
|
@ -17,7 +17,6 @@ const (
|
|||
)
|
||||
|
||||
type loadavgCollector struct {
|
||||
|
||||
metric prometheus.Gauge
|
||||
}
|
||||
|
||||
|
|
@ -29,7 +28,6 @@ func init() {
|
|||
// load, seconds since last login and a list of tags as specified by config.
|
||||
func NewLoadavgCollector() (Collector, error) {
|
||||
return &loadavgCollector{
|
||||
|
||||
metric: prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Namespace: Namespace,
|
||||
Name: "load1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue