From e0566237a4e91d094d5c182998b8d390c0801f0e Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Thu, 28 Mar 2019 18:01:40 -0500 Subject: [PATCH] fix linting --- 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 504dddbbc..f26d82ae6 100644 --- a/command/agent/config_parse.go +++ b/command/agent/config_parse.go @@ -1068,7 +1068,7 @@ func unwrapLegacyHCLObjectKeysFromJSON(item *ast.ObjectItem, depth int) { item.Val = &ast.ObjectType{ List: &ast.ObjectList{ Items: []*ast.ObjectItem{ - &ast.ObjectItem{ + { Keys: []*ast.ObjectKey{key}, Val: item.Val, },