Rename Family to Panel in models.cue (#39111)

This commit is contained in:
sam boyer
2021-09-12 14:34:33 -04:00
committed by GitHub
parent 4952f6fc58
commit f8d79d301c
14 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ func loadPanelScuemata(p BaseLoadPaths) (map[string]cue.Value, error) {
}
// Get the Family declaration in the models.cue file...
pmod := imod.Value().LookupPath(cue.MakePath(cue.Str("Family")))
pmod := imod.Value().LookupPath(cue.MakePath(cue.Str("Panel")))
if !pmod.Exists() {
return fmt.Errorf("%s does not contain a declaration of its models at path 'Family'", path)
}