Derive artifact catalogs from the selected party without changing configuration
This commit is contained in:
@@ -124,8 +124,8 @@ func validateResolvedPartyInputs(cfg *Config) error {
|
||||
if cfg.Party.Canonical == nil {
|
||||
return fmt.Errorf("canonical party data is required")
|
||||
}
|
||||
if cfg.Party.Source.Source != "campaign_config" {
|
||||
return fmt.Errorf("canonical party must be sourced by campaign_config")
|
||||
if cfg.Party.Source.Source != "campaign_config" && cfg.Party.Source.Source != "party_file" {
|
||||
return fmt.Errorf("canonical party must be sourced by campaign_config or an explicit party_file")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user