Address linter failures

This commit is contained in:
Adam Harrison committed 2016-11-14 15:13:19 +00:00
1 parent f73355abcc
commit 915638d17a
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ func uint64Counter(desc *prometheus.Desc, val uint64, labels ...string) promethe
return prometheus.MustNewConstMetric(desc, prometheus.CounterValue, float64(val), labels...)
}
var metrics []metric = []metric{
var metrics = []metric{
{desc("weave_connections", "Number of peer-to-peer connections.", "state"),
func(s WeaveStatus, desc *prometheus.Desc, ch chan<- prometheus.Metric) {
counts := make(map[string]int)