Update internal/host/plugin/repository_host_catalog.go

Co-authored-by: Todd <T.Alan.Knight@gmail.com>
vancluever-hostcatalogsecret-crud
Chris Marchesi 5 years ago committed by GitHub
parent 254d77911b
commit e04f412905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save