From 0585752fd29835e056acdb89fd293e7668b35e8c Mon Sep 17 00:00:00 2001 From: Cameron Meissner Date: Wed, 3 Jan 2024 11:19:09 -0800 Subject: [PATCH] chore: ignore VHDs without an artifact name when downloading from custom build --- e2e/scenario/vhd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/scenario/vhd.go b/e2e/scenario/vhd.go index 3ea5efae3b5..267cd95c201 100644 --- a/e2e/scenario/vhd.go +++ b/e2e/scenario/vhd.go @@ -46,7 +46,7 @@ func getVHDsFromBuild(ctx context.Context, suiteConfig *suite.Config, tmpl *Temp artifactNames := make(map[string]bool) for _, scenario := range scenarios { artifactName := scenario.VHDSelector().ArtifactName - if !artifactNames[artifactName] { + if artifactName != "" && !artifactNames[artifactName] { artifactNames[artifactName] = true log.Printf("will download publishing info artifact for: %q", artifactName) }