From 73482bb6367dde51bd5e16d8a9cf69a9fd021027 Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Tue, 20 Dec 2022 14:54:47 -0500 Subject: [PATCH] internal: remove unused Labels on Iteration The iteration structure that we use for linking a packer build to an iteration on HCP defines a `Labels' attribute, which is never set nor read from at any point. Since it is unused, we remove it in this commit. --- internal/hcp/registry/types.iterations.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/hcp/registry/types.iterations.go b/internal/hcp/registry/types.iterations.go index aafd62059..410827a24 100644 --- a/internal/hcp/registry/types.iterations.go +++ b/internal/hcp/registry/types.iterations.go @@ -16,7 +16,6 @@ type Iteration struct { AncestorSlug string Fingerprint string RunUUID string - Labels map[string]string builds sync.Map expectedBuilds []string }