From 4f42c0a7ab07e630c3ccbf6ffedfb527f20df737 Mon Sep 17 00:00:00 2001 From: ffranr Date: Tue, 3 Oct 2023 02:53:31 +0100 Subject: [PATCH] fixup! tapdb+universe: add store general and uni specific fed sync config --- universe/interface.go | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/universe/interface.go b/universe/interface.go index f4b21dc08..320e4e145 100644 --- a/universe/interface.go +++ b/universe/interface.go @@ -594,11 +594,9 @@ func NewSyncProofTypesFromString(s string) (SyncProofTypes, error) { // FedGeneralSyncConfig is a config that can be used to specify the general // federation sync behavior. type FedGeneralSyncConfig struct { + // ProofTypes represents the proof types that should be synced for + // universes which do not have a specific config. ProofTypes SyncProofTypes - - //// OnlySyncIssuanceProofs is a flag which indicates that only issuance - //// proofs should be synced. - //OnlySyncIssuanceProofs bool } // FedUniSyncConfig is a config that can be used to specify the federation sync @@ -607,15 +605,9 @@ type FedUniSyncConfig struct { // UniverseID is the ID of the Universe that the config is for. UniverseID Identifier + // ProofTypes represents the proof types that should be synced for the + // target Universe. ProofTypes SyncProofTypes - - //// Exclude is a flag which indicates that the given universe should be - //// excluded from the federation sync process. - //Exclude bool - // - //// OnlySyncIssuanceProofs is a flag which indicates that only issuance - //// proofs should be synced for the given universe. - //OnlySyncIssuanceProofs bool } // FederationSyncConfigDB is used to manage the set of Universe servers as part