From b8facd8756007abcdcb989db11f7f46363f0d121 Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Fri, 17 Aug 2018 20:34:38 -0500 Subject: [PATCH] Fix linting --- command/monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/monitor.go b/command/monitor.go index 558d8c102..38a6d562a 100644 --- a/command/monitor.go +++ b/command/monitor.go @@ -380,7 +380,7 @@ func formatAllocMetrics(metrics *api.AllocationMetric, scores bool, prefix strin // Add header as first row if i == 0 { scoreOutput[0] = "Node|" - for scorerName, _ := range scoreMeta.Scores { + for scorerName := range scoreMeta.Scores { scoreOutput[0] += fmt.Sprintf("%v|", scorerName) } scoreOutput[0] += "Final Score"