1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Conversion provider -> publisher is not worth the method.

This commit is contained in:
Sascha L. Teichmann 2022-08-16 12:28:14 +02:00
parent b608746fac
commit 37d8a8d6df
2 changed files with 6 additions and 13 deletions

View file

@ -225,12 +225,6 @@ type AggregatorCSAFPublisher struct {
UpdateInterval string `json:"update_interval,omitempty"` // required
}
// FromProvider fills a publisher from a provider.
func (acpub *AggregatorCSAFPublisher) FromProvider(acpro *AggregatorCSAFProvider) {
acpub.Metadata = acpro.Metadata
acpub.Mirrors = acpro.Mirrors
}
// Aggregator is the CSAF Aggregator.
type Aggregator struct {
Aggregator *AggregatorInfo `json:"aggregator,omitempty"` // required