coremodels: Change input filename (#51349)

This commit is contained in:
sam boyer
2022-06-23 15:47:47 -04:00
committed by GitHub
parent dd5a3b7747
commit 80f6560c9c
4 changed files with 14 additions and 29 deletions

View File

@@ -50,7 +50,7 @@ func main() {
var lins []*gcgen.ExtractedLineage
for _, item := range items {
if item.IsDir() {
lin, err := gcgen.ExtractLineage(filepath.Join(cmroot, item.Name(), "lineage.cue"), lib)
lin, err := gcgen.ExtractLineage(filepath.Join(cmroot, item.Name(), "coremodel.cue"), lib)
if err != nil {
fmt.Fprintf(os.Stderr, "could not process coremodel dir %s: %s\n", cmroot, err)
os.Exit(1)