Run gofmt.
This commit is contained in:
parent
c1992f18e5
commit
9f046cd88e
13 changed files with 1 additions and 21 deletions
|
|
@ -10,7 +10,6 @@ import (
|
|||
)
|
||||
|
||||
type timeCollector struct {
|
||||
|
||||
metric prometheus.Counter
|
||||
}
|
||||
|
||||
|
|
@ -22,7 +21,6 @@ func init() {
|
|||
// the current system time in seconds since epoch.
|
||||
func NewTimeCollector() (Collector, error) {
|
||||
return &timeCollector{
|
||||
|
||||
metric: prometheus.NewCounter(prometheus.CounterOpts{
|
||||
Namespace: Namespace,
|
||||
Name: "time",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue