From 0062160581f53a7d4191c0a7d5f18905c328bbcc Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Fri, 8 May 2020 17:01:42 +0200 Subject: [PATCH] Update common_test.go --- hcl2template/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcl2template/common_test.go b/hcl2template/common_test.go index b64295057..61b41a186 100644 --- a/hcl2template/common_test.go +++ b/hcl2template/common_test.go @@ -116,7 +116,7 @@ func testParse(t *testing.T, tests []parseTest) { return } - gotBuilds, gotDiags := gotCfg.GetBuilds(nil, nil) + gotBuilds, gotDiags := gotCfg.GetBuilds(packer.GetBuildsOptions{}) if tt.getBuildsWantDiags == (gotDiags == nil) { t.Fatalf("Parser.getBuilds() unexpected diagnostics. %s", gotDiags) }