From baa16f72fc0847cc9b6ec74444811d718552b730 Mon Sep 17 00:00:00 2001 From: Chris Baker Date: Mon, 7 Jan 2019 18:01:59 +0000 Subject: [PATCH] gofmt to make check happy --- command/agent/config_parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/config_parse.go b/command/agent/config_parse.go index 5edfe0d41..6e681b54b 100644 --- a/command/agent/config_parse.go +++ b/command/agent/config_parse.go @@ -440,7 +440,7 @@ func parseClient(result **ClientConfig, list *ast.ObjectList) error { } validKeyRe, _ := regexp.Compile(`^[^.]+(\.[^.]+)*$`) - for k, _ := range config.Meta { + for k := range config.Meta { if !validKeyRe.MatchString(k) { return fmt.Errorf("invalid Client.Meta key: %v", k) }