From e04f412905b3e20221869ea0f84964ec2f7eeea5 Mon Sep 17 00:00:00 2001 From: Chris Marchesi Date: Mon, 25 Oct 2021 15:47:32 -0700 Subject: [PATCH] Update internal/host/plugin/repository_host_catalog.go Co-authored-by: Todd --- internal/host/plugin/repository_host_catalog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/host/plugin/repository_host_catalog.go b/internal/host/plugin/repository_host_catalog.go index 7a05a9696a..d3e69ca593 100644 --- a/internal/host/plugin/repository_host_catalog.go +++ b/internal/host/plugin/repository_host_catalog.go @@ -240,7 +240,7 @@ func (r *Repository) UpdateCatalog(ctx context.Context, c *HostCatalog, version // Patch the working set with the new attributes. c.Attributes = newCatalog.Attributes - case strings.EqualFold("secrets", f) && c.Secrets != nil: + case strings.EqualFold("secrets", f): // While in a similar format, secrets are passed along // wholesale (for the time being). Don't append this mask // field, as secrets do not have a database entry. Clear the