Register prepared glossary input identities
This commit is contained in:
@@ -158,6 +158,9 @@ func validateNotariusReferences(references map[string]string) error {
|
||||
if source != strings.TrimSpace(source) {
|
||||
return fmt.Errorf("pipeline.notarius.references.%s source must be normalized", selector)
|
||||
}
|
||||
if source == artifactpolicy.SourceInputGlossary {
|
||||
return fmt.Errorf("pipeline.notarius.references.%s: replace %s with an explicit narratio.input.glossary.<party|campaign|setting|spells> source", selector, source)
|
||||
}
|
||||
if _, ok := artifactpolicy.DescribePreparedInputSource(source); !ok {
|
||||
return fmt.Errorf("pipeline.notarius.references.%s source %q is not a supported prepared input source", selector, source)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user