mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
* Change provider's default metadata role to `csaf_trusted_provider`. solve #36
This commit is contained in:
parent
c09e5f66f3
commit
776a08578b
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ func (ts TimeStamp) MarshalText() ([]byte, error) {
|
||||||
// Defaults fills the correct default values into the provider metadata.
|
// Defaults fills the correct default values into the provider metadata.
|
||||||
func (pmd *ProviderMetadata) Defaults() {
|
func (pmd *ProviderMetadata) Defaults() {
|
||||||
if pmd.Role == nil {
|
if pmd.Role == nil {
|
||||||
role := MetadataRoleProvider
|
role := MetadataRoleTrustedProvider
|
||||||
pmd.Role = &role
|
pmd.Role = &role
|
||||||
}
|
}
|
||||||
if pmd.ListOnCSAFAggregators == nil {
|
if pmd.ListOnCSAFAggregators == nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue