mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
Rename Family to Panel in models.cue (#39111)
This commit is contained in:
parent
4952f6fc58
commit
f8d79d301c
@ -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)
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
)
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ package grafanaschema
|
||||
|
||||
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
package grafanaschema
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
package grafanaschema
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ package grafanaschema
|
||||
|
||||
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ package grafanaschema
|
||||
|
||||
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
package grafanaschema
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ package grafanaschema
|
||||
|
||||
import ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
)
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
)
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
)
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
package grafanaschema
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
ui "github.com/grafana/grafana/packages/grafana-schema/src/schema"
|
||||
)
|
||||
|
||||
Family: {
|
||||
Panel: {
|
||||
lineages: [
|
||||
[
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user