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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 14 additions and 14 deletions

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)
}

View File

@ -18,7 +18,7 @@ import (
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
)
Family: {
Panel: {
lineages: [
[
{

View File

@ -16,7 +16,7 @@ package grafanaschema
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
Family: {
Panel: {
lineages: [
[
{

View File

@ -14,7 +14,7 @@
package grafanaschema
Family: {
Panel: {
lineages: [
[
{

View File

@ -14,7 +14,7 @@
package grafanaschema
Family: {
Panel: {
lineages: [
[
{

View File

@ -16,7 +16,7 @@ package grafanaschema
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
Family: {
Panel: {
lineages: [
[
{

View File

@ -16,7 +16,7 @@ package grafanaschema
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
Family: {
Panel: {
lineages: [
[
{

View File

@ -14,7 +14,7 @@
package grafanaschema
Family: {
Panel: {
lineages: [
[
{

View File

@ -16,7 +16,7 @@ package grafanaschema
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
Family: {
Panel: {
lineages: [
[
{

View File

@ -18,7 +18,7 @@ import (
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
)
Family: {
Panel: {
lineages: [
[
{

View File

@ -18,7 +18,7 @@ import (
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
)
Family: {
Panel: {
lineages: [
[
{

View File

@ -18,7 +18,7 @@ import (
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
)
Family: {
Panel: {
lineages: [
[
{

View File

@ -14,7 +14,7 @@
package grafanaschema
Family: {
Panel: {
lineages: [
[
{

View File

@ -18,7 +18,7 @@ import (
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
)
Family: {
Panel: {
lineages: [
[
{