From f460e32229c1d60889185cff5bc50a3f639d10d6 Mon Sep 17 00:00:00 2001 From: jhandz Date: Wed, 6 Sep 2017 12:01:18 -0400 Subject: [PATCH] Clean up simple lint error Signed-Off-By: Joe Handzik --- lustre_exporter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre_exporter_test.go b/lustre_exporter_test.go index fdaf59a5..52ff859f 100644 --- a/lustre_exporter_test.go +++ b/lustre_exporter_test.go @@ -116,7 +116,7 @@ func toggleCollectors(target string) { } func stringAlphabetize(str1 string, str2 string) (int, error) { - letterCount := 0 + var letterCount int if len(str1) > len(str2) { letterCount = len(str2) } else {