Skip to content

Commit

Permalink
Provider: fix default metadata role defaults to trusted now. Solves #36
Browse files Browse the repository at this point in the history
… (issue) (#166)

 * Change provider's default metadata role to `csaf_trusted_provider`.

solve #36
  • Loading branch information
s-l-teichmann authored Jun 9, 2022
1 parent c09e5f6 commit 776a085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csaf/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 776a085

Please sign in to comment.