From 776a08578bc32e9fb6f2d8b1f275ea029556117d Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Thu, 9 Jun 2022 12:57:22 +0200 Subject: [PATCH] Provider: fix default metadata role defaults to trusted now. Solves #36 (issue) (#166) * Change provider's default metadata role to `csaf_trusted_provider`. solve #36 --- csaf/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csaf/models.go b/csaf/models.go index 035bb601..054f739f 100644 --- a/csaf/models.go +++ b/csaf/models.go @@ -431,7 +431,7 @@ func (ts TimeStamp) MarshalText() ([]byte, error) { // Defaults fills the correct default values into the provider metadata. func (pmd *ProviderMetadata) Defaults() { if pmd.Role == nil { - role := MetadataRoleProvider + role := MetadataRoleTrustedProvider pmd.Role = &role } if pmd.ListOnCSAFAggregators == nil {