From 42edd22566efe522aaca5f21b2e6facd0c6cecc8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Dec 2016 20:32:50 -0500 Subject: [PATCH] helper/variables: address go vet --- helper/variables/parse.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helper/variables/parse.go b/helper/variables/parse.go index b7474df81c..f4370f1aef 100644 --- a/helper/variables/parse.go +++ b/helper/variables/parse.go @@ -59,14 +59,14 @@ func ParseInput(value string) (interface{}, error) { } return nil, fmt.Errorf( - "Cannot parse value for variable %s (%q) as valid HCL: %s", + "Cannot parse value for variable (%q) as valid HCL: %s", value, err) } var decoded map[string]interface{} if hcl.DecodeObject(&decoded, parsed); err != nil { return nil, fmt.Errorf( - "Cannot parse value for variable %s (%q) as valid HCL: %s", + "Cannot parse value for variable (%q) as valid HCL: %s", value, err) } @@ -77,7 +77,7 @@ func ParseInput(value string) (interface{}, error) { if len(decoded) > 1 { return nil, fmt.Errorf( - "Cannot parse value for variable %s (%q) as valid HCL. "+ + "Cannot parse value for variable (%q) as valid HCL. "+ "Only one value may be specified.", value) }