Run D&D spell lanes through typed artifacts
This commit is contained in:
@@ -481,6 +481,9 @@ func validatorSpecForTarget(registry *ValidatorRegistry, stage ModuleStage, key
|
||||
if entry, ok := registry.serializedEntry(key); ok && entry.spec.SupportsArtifacts {
|
||||
return entry.spec.ValidatorSpec, ValidatorTargetSerialized, nil
|
||||
}
|
||||
if _, ok := registry.Spec(key); !ok {
|
||||
return ValidatorSpec{}, "", fmt.Errorf("references unknown validator %q for artifact kind %q", key, kind)
|
||||
}
|
||||
return ValidatorSpec{}, "", missingArtifactVariantError("validator", key, kind, registry.registeredTypedKinds(key))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user