Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Commit 4cc889c

Browse files
committed
Separate var blocks for flags and metrics.
1 parent b110b51 commit 4cc889c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ import (
1717
var (
1818
configFile = flag.String("config.file", "", "Path to config file.")
1919
metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.")
20+
)
21+
22+
var (
2023
cpuLimitVal = prometheus.NewGaugeVec(
2124
prometheus.GaugeOpts{
2225
Namespace: "mesos_task",

0 commit comments

Comments
 (0)